Encyclopedia > Data compression Shannon-Fano coding

  Article Content

Shannon-Fano coding

Redirected from Data compression/Shannon-Fano coding

Shannon-Fano coding in data compression is a variable-length encoding based on the frequency of each character. The most frequent character is assigned 0, the next is assigned 10, the next 110, etc.

Shannon-Fano is a minimal prefix code. Huffman coding is optimal for character encoding (one character-one code word) and simple to program. Arithmetic coding is better still, since it can allocate fractional bits, but more complicated.



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Great River, New York

... 3.04 and the average family size is 3.36. In the town the population is spread out with 29.0% under the age of 18, 5.0% from 18 to 24, 29.0% from 25 to 44, 24.2% from 45 ...

 
 
 
This page was created in 32.9 ms