4-Arithmetic Coding
4-Arithmetic Coding
Arithmetic coding:
Arithmetic coding generates nonblack codes.
In arithmetic coding, an entire sequence of source symbols (or message) is assigned a single
arithmetic code word.
The code word itself defines an interval of real numbers between 0 and 1.
As the number of symbols in the message increases, the interval used to represent it becomes
smaller and the number of information units (say, bits) required to represent the interval
becomes larger.
Each symbol of the message reduces the size of the interval in accordance with its probability
of occurrence.
Because the technique does not require, as does Huffman's approach, that each source symbol
translate into an integral number of code symbols (that is, that the symbols be coded one at a
time), it achieves (but only in theory) the bound established by the noiseless coding theorem.