Here is an example of the bit codes developed for different symbol
(pixel values) by the Huffman Algorithm. The code is for the
pixel differences of the lysozyme single crystal oscillation.
Value Frequency Length Code Bit Pattern
-20 1455 11 00000011001
-19 1819 10 1101001111
-18 2321 10 1001000110
-17 2998 10 0000001001
-16 3804 9 101000100
-15 4869 9 000000111
-14 6349 8 11010001
-13 8083 8 00001010
-12 10346 7 1101010
-11 12870 7 1001001
-10 16200 7 0000000
-9 20418 6 100101
-8 25282 6 000001
-7 31065 5 10101
-6 37761 5 01101
-5 44656 4 1111
-4 52200 4 1100
-3 59417 4 1000
-2 66050 4 0100
-1 69873 4 0011
0 71877 4 0001
1 70028 4 0010
2 65454 4 0101
3 59478 4 0111
4 51988 4 1011
5 44730 4 1110
6 37479 5 01100
7 30750 5 10011
8 24854 5 11011
9 20073 6 000011
10 16374 6 101001
11 12769 7 0000100
12 10202 7 1010000
13 8190 7 1101011
14 6377 8 00001011
15 4904 8 11010000
16 3974 9 000000101
17 2971 9 100100010
18 2401 9 110100110
19 2052 10 1001000000
20 1581 10 1001000111
21 1230 10 1101001110
22 986 11 00000011010
23 858 11 10010000101
24 640 11 11010010011
25 574 12 000000110000
26 480 12 000000110111
27 376 12 101000101001
28 343 12 110100100011
29 289 12 101000101110
30 231 13 0000001000010