Optimal Huffman coding of DCT blocks

被引:17
作者
Lakhani, G [1 ]
机构
[1] Texas Tech Univ, Lubbock, TX 79409 USA
关键词
discrete cosine transform (DCT); Huffman coding; JPEG image compression;
D O I
10.1109/TCSVT.2004.825565
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
It is a well-observed characteristic that, when a discrete cosine transform block is traversed in the zigzag order, ac coefficients generally decrease in size and the runs of zero coefficients increase in length. This paper presents a minor modification to the Huffman coding of the JPEG baseline compression algorithm to exploit this characteristic. During the run-length coding, instead of pairing a nonzero ac coefficient with the run-length of the preceding zero coefficients, our encoder pairs it with the run-length of subsequent zeros. This small change makes it possible for our codec to code a pair using a separate Huffman code table optimized for the position of the nonzero coefficient denoted by the pair. These position-dependent code tables can be encoded efficiently without incurring a sizable overhead. Experimental results show that our encoder produces a further reduction in the ac coefficient Huffman code size by about 10%-15%.
引用
收藏
页码:522 / 527
页数:6
相关论文
共 11 条
[1]  
CHEN WH, 1984, IEEE T COMMUN, V32, P225
[2]  
GIBSON J.D., 1998, MKS MULTIMED INFORM
[3]  
*ISO DIS, 10981 ISODIS 1
[4]   Huffman coding of DCT coefficients using dynamic codeword assignment and adaptive codebook selection [J].
Jeon, B ;
Park, J ;
Jeong, J .
SIGNAL PROCESSING-IMAGE COMMUNICATION, 1998, 12 (03) :253-262
[5]   DYNAMIC HUFFMAN CODING [J].
KNUTH, DE .
JOURNAL OF ALGORITHMS, 1985, 6 (02) :163-180
[6]  
Memon N, 1998, 1998 INTERNATIONAL CONFERENCE ON IMAGE PROCESSING - PROCEEDINGS, VOL 1, P516, DOI 10.1109/ICIP.1998.723551
[7]  
Moffat A., 1995, Proceedings. DCC '95 Data Compression Conference (Cat. No.95TH8037), P202, DOI 10.1109/DCC.1995.515510
[8]  
Nelson M., 1996, The Data Compression Book
[9]  
PENNEBAKER WB, 1993, JPEG STILL IMAGE DAT
[10]   THE JPEG STILL PICTURE COMPRESSION STANDARD [J].
WALLACE, GK .
COMMUNICATIONS OF THE ACM, 1991, 34 (04) :30-44