Skip to main content Accessibility help
×
Hostname: page-component-77c89778f8-vsgnj Total loading time: 0 Render date: 2024-07-19T20:52:27.787Z Has data issue: false hasContentIssue false

4 - Entropy coding techniques

Published online by Cambridge University Press:  05 June 2012

William A. Pearlman
Affiliation:
Rensselaer Polytechnic Institute, New York
Amir Said
Affiliation:
Hewlett-Packard Laboratories, Palo Alto, California
Get access

Summary

Introduction

In the previous chapter, Chapter 3, we presented the theory of lossless coding and derived properties for optimality of uniquely decodable, prefix-free source codes. In particular, we showed that entropy is the absolute lower rate limit of a prefix-free code and presented tree and arithmetic structures that support prefix-free codes. In this chapter, we shall present coding methods that utilize these structures and whose rates approach the entropy limit. These methods are given the generic name of entropy coding. Huffman coding is one common form of entropy coding. Another is arithmetic coding and several adaptive, context-based enhancements are parts of several standard methods of data compression. Nowadays, lossless codes, whether close to optimal or not, are often called entropy codes. In addition to Huffman and arithmetic coding, we shall develop other important lossless coding methods, including run-length coding, Golomb coding, and Lempel–Ziv coding.

Huffman codes

The construction invented by Huffman [1] in 1952 yields the minimum length, prefix-free code for a source with a given set of probabilities. First, we shall motivate the construction discovered by Huffman. We consider only binary (D = 2) codes in this chapter, since extensions to non-binary are usually obvious from the binary case and binary codes are predominant in practice and the literature. We have learned that a prefix-free code can be constructed, so that its average length is no more than 1 bit from the source entropy, which is the absolute lower limit.

Type
Chapter
Information
Digital Signal Compression
Principles and Practice
, pp. 41 - 76
Publisher: Cambridge University Press
Print publication year: 2011

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

References

1. Huffman, D. A., “A method for the construction of minimum redundancy codes,” Proc. IRE, vol. 40, pp. 1098–1101, Sept. 1952.CrossRefGoogle Scholar
2. Jelinek, F., Probabilistic Information Theory. New York: McGraw-Hill. 1968.Google Scholar
3. Said, A., “Arithmetic coding,” in Lossless Compression Handbook, ed. Sayood, K.. San Diego, CA: Academic Press. 2003, ch. 5.Google Scholar
4. Said, A., “On the reduction of entropy coding complexity via symbol grouping: I redundancy analysis and optimal alphabet partition,” HP Laboratories, Palo Alto, CA, Report HPL-2004- 145, Aug. 2004.
5. Golomb, S. W., “Run-length encodings,” IEEE Trans. Inf. Theory, vol. IT-12, no. 3, pp. 399–401, Jul. 1966.CrossRefGoogle Scholar
6. Gallager, R. G. and Voorhis, D., “Optimal source codes for geometrically distributed integer alphabets,” IEEE Trans. Inf. Theory, vol. 21, no. 2, pp. 228–230, Mar. 1975.CrossRefGoogle Scholar
7. Ziv, J. and Lempel, A., “A universal algorithm for data compression,” IEEE Trans. Inf. Theory, vol. IT-23, no. 3, pp. 337–343, May. 1977.CrossRefGoogle Scholar
8. Ziv, J. and Lempel, A., “Compression of individual sequences via variable-rate coding,” IEEE Trans. Inf. Theory, vol. IT-24, no. 5, pp. 530–536, Sept. 1978.CrossRefGoogle Scholar
9. Welch, T. A., “A technique for high-performance data compression,” IEEE Computer, vol. 17, no. 6, pp. 8–19, Jun. 1984.CrossRefGoogle Scholar
10. Bell, T. C., “Better OPM/L text compression,” IEEE Trans. Commun., vol. COM-34, no. 12, pp. 1176–1182, Dec. 1986.CrossRefGoogle Scholar
11. Sayood, K., Introduction to Data Compression, 3rd edn. San Francisco, CA: Morgan Kaufmann Publishers (Elsevier), 2006.Google Scholar
12. Salomon, D., Data Compression: The Complete Reference, 3rd edn. New York: Springer. 2004.Google Scholar
13. Witten, H., Neel, R. M., and Cleary, J. G., “Arithmetic coding for data compression,” Commun. AcM, vol. 30, no. 6, Jun. 1987. pp. 520–540.CrossRefGoogle Scholar
14. Gersho, A. and Gray, R. M., Vector Quantization and Signal Compression, Boston, Dordrecht, London: Kluwer Academic Publishers. 1992.CrossRefGoogle Scholar
Cover, T. M. and Thomas, J. A., Elements of Information Theory. New York, NY: JohnWiley & Sons, 1991, 2006.Google Scholar
Said, A. and Pearlman, W., “Low-complexity waveform coding via alphabet and sample-set partitioning,” in Proceedings of the SPIE: Visual Communications and Image Processing, vol. 3024, San Jose, CA, Feb. 1997, pp. 25–37.CrossRefGoogle Scholar
Shi, Y. Q. and Sun, H., Image and Video Compression for Multimedia Engineering. Boca Raton: CRC Press, Taylor & Francis Group, 2008.CrossRefGoogle Scholar

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Entropy coding techniques
  • William A. Pearlman, Rensselaer Polytechnic Institute, New York, Amir Said, Hewlett-Packard Laboratories, Palo Alto, California
  • Book: Digital Signal Compression
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511984655.005
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Entropy coding techniques
  • William A. Pearlman, Rensselaer Polytechnic Institute, New York, Amir Said, Hewlett-Packard Laboratories, Palo Alto, California
  • Book: Digital Signal Compression
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511984655.005
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Entropy coding techniques
  • William A. Pearlman, Rensselaer Polytechnic Institute, New York, Amir Said, Hewlett-Packard Laboratories, Palo Alto, California
  • Book: Digital Signal Compression
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511984655.005
Available formats
×