Image compression using Huffman algorithm
2016-08-23
1 0 0
no vote
Other
Earn points
This Matlab code is used to compress image using Huffman algorithm. There are two main function in this code packet, im2huff and huff2im. im2huff convert an digital gray level image into a structure variable. huff2im does inversely.
The structure variable has 5 fields:
+ size: the size of original image
+ gray: the gray levels of the original image
+ hist : the histogram of image
+ codlen: the Huffman code length
+code: the Huffman-encoded values stored in a uint16 vector.
Three function byte.m, compare.m, imratio.m are defined in the book "Digital Image Processing using Matlab", Gonzalez
matlab
算法
图像
压缩
利用
哈夫曼
Related Source Codes
GMSK Linear Receiver
0
0
no vote
NSGA-II algorithm
0
0
no vote
NSGA-III multi-objective optimization algorithm
0
0
no vote
Compressed sensing example
0
0
no vote
CFAR detector example
0
0
no vote
No comment