a memory-efficient huffman decoding algorithm pi-chung wang, yuan-rung yang, chun-liang lee, hung-yi...

10
A Memory-efficient Huffman Decoding Algorithm Pi-Chung Wang, Yuan-Rung Yang, Chun- Liang Lee, Hung-Yi Chang, 19th International Conference on Advanced Information Networking and Applications, pp. 475 - 479 ,2005 Presenter :Yu-Cheng Cheng

Upload: aldous-armstrong

Post on 01-Jan-2016

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A Memory-efficient Huffman Decoding Algorithm Pi-Chung Wang, Yuan-Rung Yang, Chun-Liang Lee, Hung-Yi Chang, 19th International Conference on Advanced Information

A Memory-efficient Huffman Decoding Algorithm

Pi-Chung Wang, Yuan-Rung Yang, Chun-Liang Lee, Hung-Yi Chang,

19th International Conference on Advanced Information Networking and Applications,

pp. 475 - 479 ,2005

Presenter :Yu-Cheng Cheng

Page 2: A Memory-efficient Huffman Decoding Algorithm Pi-Chung Wang, Yuan-Rung Yang, Chun-Liang Lee, Hung-Yi Chang, 19th International Conference on Advanced Information

Outline

• Introduction

• Decoding Algorithm

• Conclusion

Page 3: A Memory-efficient Huffman Decoding Algorithm Pi-Chung Wang, Yuan-Rung Yang, Chun-Liang Lee, Hung-Yi Chang, 19th International Conference on Advanced Information

Introduction

• The Huffman code has been widely used

in text、 image and video compression.

• This paper first presents a new array data structure to represent the Huffman tree.

Page 4: A Memory-efficient Huffman Decoding Algorithm Pi-Chung Wang, Yuan-Rung Yang, Chun-Liang Lee, Hung-Yi Chang, 19th International Conference on Advanced Information

Decoding Algorithm

Table 1. An Example of Huffman Encoding.

Page 5: A Memory-efficient Huffman Decoding Algorithm Pi-Chung Wang, Yuan-Rung Yang, Chun-Liang Lee, Hung-Yi Chang, 19th International Conference on Advanced Information

Decoding Algorithm

Figure 1. The interval representation of codewords in Table 1.

Page 6: A Memory-efficient Huffman Decoding Algorithm Pi-Chung Wang, Yuan-Rung Yang, Chun-Liang Lee, Hung-Yi Chang, 19th International Conference on Advanced Information

Decoding Algorithm

Table 2. Interval Representation of Symbols in Table 1.

Page 7: A Memory-efficient Huffman Decoding Algorithm Pi-Chung Wang, Yuan-Rung Yang, Chun-Liang Lee, Hung-Yi Chang, 19th International Conference on Advanced Information

Decoding Algorithm

Example:

input code ‘01010’

Table 3. Contiguous Interval Representation of Symbols in Table 1.

Page 8: A Memory-efficient Huffman Decoding Algorithm Pi-Chung Wang, Yuan-Rung Yang, Chun-Liang Lee, Hung-Yi Chang, 19th International Conference on Advanced Information

Decoding Algorithm

Figure 3. The single-side growing Huffman tree of Fig. 1.

Page 9: A Memory-efficient Huffman Decoding Algorithm Pi-Chung Wang, Yuan-Rung Yang, Chun-Liang Lee, Hung-Yi Chang, 19th International Conference on Advanced Information

Decoding Algorithm

Figure 4. Multiple Interval Arrays.

Page 10: A Memory-efficient Huffman Decoding Algorithm Pi-Chung Wang, Yuan-Rung Yang, Chun-Liang Lee, Hung-Yi Chang, 19th International Conference on Advanced Information

Conclusion

• An improvement based on single-side growing Huffman tree is presented to further decrease the average lookup time.