A Balanced Binary Search Tree for Huffman Decoding

허프만 복호화를 위한 균형이진 검색 트리

  • 김혜란 (이화여자대학교정보통신공학과 SoC Design 연구실) ;
  • 정여진 (이화여자대학교정보통신공학과 SoC Design 연구실) ;
  • 임창훈 (건국대학교 인터넷미디어공학부) ;
  • 임혜숙 (이화여자대학교정보통신공학과 SoC Design 연구실)
  • Published : 2005.05.01

Abstract

Huffman codes are widely used for image and video data transmission. As the increase of real-time data, a lot of studies on effective decoding algorithms and architectures have been done. In this paper, we proposed a balanced binary search tree for Huffman decoding and compared the performance of the proposed architecture with that of previous works. Based on definitions of the comparison of codewords with different lengths, the proposed architecture constructs a balanced binary tree which does not include empty internal nodes, and hence it is very efficient in the memory requirement. Performance evaluation results using actual image data show that the proposed architecture requires small number of table entries, and the decoding time is 1, 5, and 2.41 memory accesses in minimum, maximum, and average, respectively.

허프만 코드는 영상이나 비디오 전송뿐만 아니라 여러 분야에서 광범위하게 사용되고 있는 데이터 압축 알고리즘으로서, 실시간 데이터의 양이 증가함에 따라 효율적인 디코딩 알고리즘에 관한 많은 연구가 진행되고 있다. 본 논문에서는 호프만 디코딩을 위해 균형 트리를 형성하여 효율적인 이진 검색을 수행하는 구조를 제안하고 타 구조와의 성능을 비교하였다. 제안하는 구조는 길이가 다른 코드워드 간의 크기 비교를 가능하게 하는 정의를 사용하여 비어있는 내부 노드를 포함하지 않는 완전 균형 트리를 구성하므로, 디코딩 테이블을 위해 필요로 하는 메모리의 크기에 있어 매우 우수한 구조이다. 실제 영상 데이터를 사용하여 실험한 결과, 256개의 심볼 set에 대해 제안하는 구조는 매우 적은 수의 테이블 엔트리를 요구하며, 디코딩 성능은 최소 1번, 최대 5번, 평균 2.41번의 메모리 접근을 소요함을 보았다.

Keywords

References

  1. Z. Li and M. S. Drew , Fundamentals of Multimedia, Pearson Education, 2004
  2. Y.S. Lee, B.J. Shieh, C.Y. Lee 'A Generalized Prediction Method for Modified Memory-Based High Throughput VLC Decoder Design,' IEEE Transactioins on Circuits and Systems II: Analog and Digital Signal Processing, Vol. 46, No.6, 1999, pp. 42-754
  3. K.L. Chung, 'Efficient Huffman Decoding,' Inf. Process. Lett, vol. 61, 1997, pp. 97-99 https://doi.org/10.1016/S0020-0190(96)00204-9
  4. K.L. Chung, 'Level-Compressed Huffman Decoding,' IEEE Trans. communications, vol. 47, Oct. 1999, pp. 1455-1457 https://doi.org/10.1109/26.795810
  5. M. Aggarwal and A. Narayan, 'Efficient Huffman Decoding,' Proc. Intemation Conference on Image Processing, 2000, pp. 936-939
  6. E.S. Schwartz and B. Kallick, 'Generating a canonical prefix encoding,' commum. ACM, vol. 7, 1964, pp. 166-169 https://doi.org/10.1145/363958.363991
  7. Reza. Hashemian, 'Condensed Table of Huffman Coding, a New Approach to Efficient Decoding,' IEEE Transactions on Communications, Vol. 52, No.1, Jan. 2004, pp.6-8 https://doi.org/10.1109/TCOMM.2003.822145
  8. Y.J. Chuang, 'An SGH-Tree Based Efficient Huffman Decoding,' Proc. ICICS, Dec. 2003, pp. 1483-1487
  9. N.Yazdani and P.S.Min, 'Fast and Scalable Schemes for the IP Address Lookup Problem,' Proc. IEEE HPSR2000, 2000, pp 83-92