Arithmetic coding revisited

被引:244
作者
Moffat, A [1 ]
Neal, RM
Witten, IH
机构
[1] Univ Melbourne, Dept Comp Sci, Parkville, Vic 3052, Australia
[2] Univ Toronto, Dept Comp Sci, Toronto, ON, Canada
[3] Univ Toronto, Dept Stat, Toronto, ON, Canada
[4] Univ Waikato, Dept Comp Sci, Hamilton, New Zealand
关键词
algorithms; performance; approximate coding; arithmetic coding; text compression; word-based model;
D O I
10.1145/290159.290162
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Over the fast decade, arithmetic coding has emerged as an important compression tool. It is now the method of choice for adaptive coding on multisymbol alphabets because of its speed, low storage requirements, and effectiveness of compression. This article describes a new implementation of arithmetic coding that incorporates several improvements over a widely used earlier version by Witten, Neal, and Cleary, which has become a de facto standard. These improvements include fewer multiplicative operations, greatly extended range of alphabet sizes and symbol probabilities, and the use of low-precision arithmetic, permitting implementation by fast shift/add operations. We also describe a modular structure that separates the coding, modeling, and probability estimation components of a compression system. To motivate the improved coder, we consider the needs of a word-based text compression program. We report a range of experimental results using this and other models. Complete source code is available.
引用
收藏
页码:256 / 294
页数:39
相关论文
共 48 条
[1]  
[Anonymous], 1994, MANAGING GIGABYTES C
[2]  
Bell T. C., 1990, TEXT COMPRESSION
[3]   A LOCALLY ADAPTIVE DATA-COMPRESSION SCHEME [J].
BENTLEY, JL ;
SLEATOR, DD ;
TARJAN, RE ;
WEI, VK .
COMMUNICATIONS OF THE ACM, 1986, 29 (04) :320-330
[4]   IS HUFFMAN CODING DEAD [J].
BOOKSTEIN, A ;
KLEIN, ST .
COMPUTING, 1993, 50 (04) :279-296
[5]   NEW BOUNDS ON THE REDUNDANCY OF HUFFMAN CODES [J].
CAPOCELLI, RM ;
DESANTIS, A .
IEEE TRANSACTIONS ON INFORMATION THEORY, 1991, 37 (04) :1095-1104
[6]  
CHEVION D, 1991, P DAT COMPR C, P43
[7]   DATA-COMPRESSION USING ADAPTIVE CODING AND PARTIAL STRING MATCHING [J].
CLEARY, JG ;
WITTEN, IH .
IEEE TRANSACTIONS ON COMMUNICATIONS, 1984, 32 (04) :396-402
[8]   ALGORITHMS FOR ADAPTIVE HUFFMAN CODES [J].
CORMACK, GV ;
HORSPOOL, RN .
INFORMATION PROCESSING LETTERS, 1984, 18 (03) :159-165
[9]   DATA-COMPRESSION USING DYNAMIC MARKOV MODELING [J].
CORMACK, GV ;
HORSPOOL, RNS .
COMPUTER JOURNAL, 1987, 30 (06) :541-550
[10]  
Cormen T. H., 1990, INTRO ALGORITHMS