• DocumentCode
    945280
  • Title

    Optimal Huffman coding of DCT blocks

  • Author

    Lakhani, Gopal

  • Author_Institution
    Texas Tech Univ., Lubbock, TX, USA
  • Volume
    14
  • Issue
    4
  • fYear
    2004
  • fDate
    4/1/2004 12:00:00 AM
  • Firstpage
    522
  • Lastpage
    527
  • Abstract
    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%.
  • Keywords
    Huffman codes; discrete cosine transforms; runlength codes; transform coding; video codecs; video coding; JPEG baseline compression algorithm; ac coefficients; codec; discrete cosine transform blocks; optimal Huffman coding; position-dependent code tables; run-length coding; Codecs; Compression algorithms; Discrete cosine transforms; Entropy; Huffman coding; Image coding; Pixel; Quantization; Transform coding; Video compression;
  • fLanguage
    English
  • Journal_Title
    Circuits and Systems for Video Technology, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    1051-8215
  • Type

    jour

  • DOI
    10.1109/TCSVT.2004.825565
  • Filename
    1281826