Huffman Codes versus Augmented Non-Prefix-Free Codes

被引:3
|
作者
Adas, Boran [1 ]
Bayraktar, Ersin [1 ]
Kulekci, M. Oguzhan [2 ]
机构
[1] Istanbul Tech Univ, Dept Comp Enginering, TR-80626 Istanbul, Turkey
[2] ITU ARI Teknokent, ERLAB Software Co, Istanbul, Turkey
来源
关键词
D O I
10.1007/978-3-319-20086-6_24
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Non-prefix-free (NPF) codes are not uniquely decodable, and thus, have received very few attention due to the lack of that most essential feature required in any coding scheme. Augmenting NPF codes with compressed data structures has been proposed in ISIT'2013 [8] to overcome this limitation. It had been shown there that such an augmentation not only brings the unique decodability to NPF codes, but also provides efficient random access. In this study, we extend this approach and compare augmented NPF codes with the 0th-order Huffman codes in terms of compression ratios and random access times. Basically, we benchmark four coding schemes as NPF codes augmented with wavelet trees (NPF-WT), with R/S dictionaries (NPF-RS), Huffman codes, and sampled Huffman codes. Since Huffman coding originally does not provide random access feature, sampling is a common way in practice to speed up access to arbitrary symbols in the encoded stream. We achieve sampling by simply managing an additional array that marks the beginnings of the codewords in steps of the sampling ratio, and keeping that sparse bit array compressed via R/S dictionary data structure. The experiments revealed that augmented NPF codes achieve compression very close to the Huffman with the additional advantage of random access. When compared to sampled Huffman coding both the compression ratios and random access performances of the NPF schemes are superior.
引用
收藏
页码:315 / 326
页数:12
相关论文
共 50 条
  • [31] Efficient and Compact Representations of Some Non-canonical Prefix-Free Codes
    Farina, Antonio
    Gagie, Travis
    Manzini, Giovanni
    Navarro, Gonzalo
    Ordonez, Alberto
    STRING PROCESSING AND INFORMATION RETRIEVAL, SPIRE 2016, 2016, 9954 : 50 - 60
  • [32] Guaranteed synchronization of huffman codes
    Biskup, Marek Tomasz
    DCC: 2008 DATA COMPRESSION CONFERENCE, PROCEEDINGS, 2008, : 462 - 471
  • [33] ON THE REDUNDANCY OF BINARY HUFFMAN CODES
    JOHNSEN, O
    IEEE TRANSACTIONS ON INFORMATION THEORY, 1980, 26 (02) : 220 - 223
  • [34] Parallel construction of Huffman Codes
    Ostadzadeh, S. Arash
    Moulavi, M. Amir
    Zeinalpour, Zeinab
    Elahi, B. Maryam
    ADVANCES IN SYSTEMS, COMPUTING SCIENCES AND SOFTWARE ENGINEERING, 2006, : 17 - +
  • [35] MINIMUM VARIANCE HUFFMAN CODES
    KOU, LT
    SIAM JOURNAL ON COMPUTING, 1982, 11 (01) : 138 - 148
  • [36] FAST DECODING OF THE HUFFMAN CODES
    SIEMINSKI, A
    INFORMATION PROCESSING LETTERS, 1988, 26 (05) : 237 - 241
  • [37] Speech compression with Huffman codes
    MacDonald, R.I., 1600, (16):
  • [38] Approximating Huffman codes in parallel
    Berman, P
    Karpinski, M
    Nekrich, Y
    AUTOMATA, LANGUAGES AND PROGRAMMING, 2002, 2380 : 845 - 855
  • [39] Two properties of prefix codes and uniquely decodable codes
    Jie Xu
    Zhiyong Zheng
    Kun Tian
    Man Chen
    Designs, Codes and Cryptography, 2023, 91 : 3321 - 3330
  • [40] Synchronizing dynamic Huffman codes
    Klein, Shmuel T.
    Opalinsky, Elina
    Shapira, Dana
    DISCRETE APPLIED MATHEMATICS, 2024, 358 : 23 - 32