Approximated multi-symbol arithmetic coding method and apparatus
Abstract
A method and apparatus for compressing and decompressing data is described. The most frequent symbols (A-Group.) are encoded using an Arithmetic Code, then the remainder of the symbols (H-Group) are first encoded using Huffman's algorithm (or any Prefix code) and then combined with the Arithmetic code resulting in a hybrid Arithmetic/Huffman code. After being encoded into a Huffman code, the H-Group symbols are made into a "super-symbol" which fits into an Arithmetic subinterval allocated to the symbols in the H-Group. The Arithmetic subintervals for the symbols in the H-Group preferably are a negative power of 2 (e.g., 1/2, 1/4, 1/16, 1/32, etc.) of the code space. Each such H-group subinterval has its own associated subset of H-group symbols comprising one Huffman code table that fits into that respective interval. Decoding in an AMSAC system first treats the code stream as Arithmetically encoded. Standard prior art Arithmetic decoding is performed until an interval assigned to the super-symbol(s) is encountered. The Arithmetic super-symbol for this interval is then processed to obtain the Prefix code by reversing the scaling and offsetting, if any, that was needed to
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 1 · Forward citations: 26.
Claims (3 — 2 Independent, 1 Dependent)
- Claim 1Independent Claim
An encoder for compressing a unit of data composed of symbols having a plurality of possible symbol values and each symbol having a frequency with which it occurs in the unit of data, comprising: a symbol controller which assigns symbols to an A-Group or H-Group based on the frequencies of the symbols; an interval controller which assigns Arithmetic subintervals to the H-Group and to the symbols in the A-Group; a Prefix encoder which encodes symbols in the H-Group into Prefix codewords; and an Arithmetic encoder which encodes the Prefix codewords and the symbols in the A-Group into an Ar
- Claim 2Depends on #1
The encoder of claim 1 further comprising means for scaling the Prefix codewords to fit into the Arithmetic subinterval assigned to the H-Group.
- Claim 3Independent Claim
The encoder of
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 26 total)
References Cited — Backward Prior Art (1)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 5,227,789 A | Modified huffman encode/decode system with simplified decoding for imaging systems | 1993 | 67 |
Non-Patent Literature (5)
- B. L. Marks, "Trimming Of Huffman Coding Tables", IBM Technical Disclosure Bulletin, Oct. 1979, p. 2106.
- B. L. Marks, Trimming Of Huffman Coding Tables , IBM Technical Disclosure Bulletin, Oct. 1979, p. 2106.
- D. A. Huffman, "A Method for the Construction of Minimum-Redundancy Codes", Proceedings of the I.R.E., Vo. 40, No. 9, Sep. 1952, pp. 1098-1101.
- D. A. Huffman, A Method for the Construction of Minimum Redundancy Codes , Proceedings of the I.R.E., Vo. 40, No. 9, Sep. 1952, pp. 1098 1101.
- D. R. Helman et al., "Statistics Collection For Compression Coding With Randomizing Feature", IBM Technical Disclosure Bulletin, Mar. 1982, p. 4917.