摘要
图像压缩是数字图像处理的一项重要技术。论文研究了基于统计特性的两种熵编码图像压缩编码方法———香农编码和哈夫曼编码,并以C#为工具,对两种编码方法进行实验及对比。实验表明,哈夫曼编码的编码效率远高于香农编码。香农编码占用的存储空间较大,单位码长表达的信息量少;哈夫曼编码节省存储空间,单位码长表达了更为丰富的信息量。
Image compression is an important technology for digital image processing. In this paper two kinds of entropy code image compression methods which are based on their statistical characters are studied, including Shannon and Huffman. Then, experimental and comparisons are made for the two methods by C#. Experiments show that Huffman coding efficiency is much higher than Shannon coding. Shannon coding occupies more storage space and unit code length expresses less abundant amount of information. Huffman coding occupies less storage space and unit code expresses more information.
出处
《计算机与数字工程》
2013年第10期1682-1684,共3页
Computer & Digital Engineering
关键词
图像压缩
香农编码
哈夫曼编码
Image compression, Shannon coding, Huffman coding