Pixel Translation Table
Input Output
Pixel Value Coefficient
25511111111
25411111110
25311111101
25211111100
25111111011
25011111010
24911111001
24811111000
24711110111
24611110110
24511110101
24411110100
24311110011
24211110010
24111110001
24011110000
23911101111
23811101110
23711101101
23611101100
23511101011
23411101010
23311101001
23211101000
23111100111
23011100110
22911100101
22811100100
22711100011
22611100010
22511100001
22411100000
22311011111
22211011110
22111011101
22011011100
21911011011
21811011010
21711011001
21611011000
21511010111
21411010110
21311010101
21211010100
21111010011
21011010010
20911010001
20811010000
20711001111
20611001110
20511001101
20411001100
20311001011
20211001010
20111001001
20011001000
19911000111
19811000110
19711000101
19611000100
19511000011
19411000010
19311000001
19211000000
19110111111
19010111110
18910111101
18810111100
18710111011
18610111010
18510111001
18410111000
18310110111
18210110110
18110110101
18010110100
17910110011
17810110010
17710110001
17610110000
17510101111
17410101110
17310101101
17210101100
17110101011
17010101010
16910101001
16810101000
16710100111
16610100110
16510100101
16410100100
16310100011
16210100010
16110100001
16010100000
15910011111
15810011110
15710011101
15610011100
15510011011
15410011010
15310011001
15210011000
15110010111
15010010110
14910010101
14810010100
14710010011
14610010010
14510010001
14410010000
14310001111
14210001110
14110001101
14010001100
13910001011
13810001010
13710001001
13610001000
13510000111
13410000110
13310000101
13210000100
13110000011
13010000010
12910000001
12810000000
1271111111
1261111110
1251111101
1241111100
1231111011
1221111010
1211111001
1201111000
1191110111
1181110110
1171110101
1161110100
1151110011
1141110010
1131110001
1121110000
1111101111
1101101110
1091101101
1081101100
1071101011
1061101010
1051101001
1041101000
1031100111
1021100110
1011100101
1001100100
991100011
981100010
971100001
961100000
951011111
941011110
931011101
921011100
911011011
901011010
891011001
881011000
871010111
861010110
851010101
841010100
831010011
821010010
811010001
801010000
791001111
781001110
771001101
761001100
751001011
741001010
731001001
721001000
711000111
701000110
691000101
681000100
671000011
661000010
651000001
641000000
63111111
62111110
61111101
60111100
59111011
58111010
57111001
56111000
55110111
54110110
53110101
52110100
51110011
50110010
49110001
48110000
47101111
46101110
45101101
44101100
43101011
42101010
41101001
40101000
39100111
38100110
37100101
36100100
35100011
34100010
33100001
32100000
3111111
3011110
2911101
2811100
2711011
2611010
2511001
2411000
2310111
2210110
2110101
2010100
1910011
1810010
1710001
1610000
151111
141110
131101
121100
111011
101010
91001
81000
7111
6110
5101
4100
311
210
11
-10
-201
-300
-4011
-5010
-6001
-7000
-80111
-90110
-100101
-110100
-120011
-130010
-140001
-150000
-1601111
-1701110
-1801101
-1901100
-2001011
-2101010
-2201001
-2301000
-2400111
-2500110
-2600101
-2700100
-2800011
-2900010
-3000001
-3100000
-32011111
-33011110
-34011101
-35011100
-36011011
-37011010
-38011001
-39011000
-40010111
-41010110
-42010101
-43010100
-44010011
-45010010
-46010001
-47010000
-48001111
-49001110
-50001101
-51001100
-52001011
-53001010
-54001001
-55001000
-56000111
-57000110
-58000101
-59000100
-60000011
-61000010
-62000001
-63000000
-640111111
-650111110
-660111101
-670111100
-680111011
-690111010
-700111001
-710111000
-720110111
-730110110
-740110101
-750110100
-760110011
-770110010
-780110001
-790110000
-800101111
-810101110
-820101101
-830101100
-840101011
-850101010
-860101001
-870101000
-880100111
-890100110
-900100101
-910100100
-920100011
-930100010
-940100001
-950100000
-960011111
-970011110
-980011101
-990011100
-1000011011
-1010011010
-1020011001
-1030011000
-1040010111
-1050010110
-1060010101
-1070010100
-1080010011
-1090010010
-1100010001
-1110010000
-1120001111
-1130001110
-1140001101
-1150001100
-1160001011
-1170001010
-1180001001
-1190001000
-1200000111
-1210000110
-1220000101
-1230000100
-1240000011
-1250000010
-1260000001
-1270000000
-12801111111
-12901111110
-13001111101
-13101111100
-13201111011
-13301111010
-13401111001
-13501111000
-13601110111
-13701110110
-13801110101
-13901110100
-14001110011
-14101110010
-14201110001
-14301110000
-14401101111
-14501101110
-14601101101
-14701101100
-14801101011
-14901101010
-15001101001
-15101101000
-15201100111
-15301100110
-15401100101
-15501100100
-15601100011
-15701100010
-15801100001
-15901100000
-16001011111
-16101011110
-16201011101
-16301011100
-16401011011
-16501011010
-16601011001
-16701011000
-16801010111
-16901010110
-17001010101
-17101010100
-17201010011
-17301010010
-17401010001
-17501010000
-17601001111
-17701001110
-17801001101
-17901001100
-18001001011
-18101001010
-18201001001
-18301001000
-18401000111
-18501000110
-18601000101
-18701000100
-18801000011
-18901000010
-19001000001
-19101000000
-19200111111
-19300111110
-19400111101
-19500111100
-19600111011
-19700111010
-19800111001
-19900111000
-20000110111
-20100110110
-20200110101
-20300110100
-20400110011
-20500110010
-20600110001
-20700110000
-20800101111
-20900101110
-21000101101
-21100101100
-21200101011
-21300101010
-21400101001
-21500101000
-21600100111
-21700100110
-21800100101
-21900100100
-22000100011
-22100100010
-22200100001
-22300100000
-22400011111
-22500011110
-22600011101
-22700011100
-22800011011
-22900011010
-23000011001
-23100011000
-23200010111
-23300010110
-23400010101
-23500010100
-23600010011
-23700010010
-23800010001
-23900010000
-24000001111
-24100001110
-24200001101
-24300001100
-24400001011
-24500001010
-24600001001
-24700001000
-24800000111
-24900000110
-25000000101
-25100000100
-25200000011
-25300000010
-25400000001
-25500000000

DC Huffman Translation Table
Input Output
Length of
VL Code
Length of
Huffman Code
Huffman Code
0 2 0
1 3 10
2 3 11
3 3 100
4 3 101
5 3 110
6 4 1110
7 5 11110
8 6 111110
9 7 1111110
10 8 11111110
11 9 111111110

AC Huffman Translation Table
Input Output
Zero-run Length of
VL Code
Length of
Huffman Code
Huffman Code
0 0 4 1010 (End-Of-Block)
0 1 2 0
0 2 2 1
0 3 3 100
0 4 4 1011
0 5 5 11010
0 6 7 1111000
0 7 8 11111000
0 8 10 1111110110
1 1 4 1100
1 2 5 11011
1 3 7 1111001
1 4 9 111110110
1 5 11 11111110110
1 6 16 1111111110000100
1 7 16 1111111110000101
1 8 16 1111111110000110
2 1 5 11100
2 2 8 11111001
2 3 10 1111110111
2 4 12 111111110100
2 5 16 1111111110001001
2 6 16 1111111110001010
2 7 16 1111111110001011
2 8 16 1111111110001100
3 1 6 111010
3 2 9 111110111
3 3 12 111111110101
3 4 16 1111111110001111
3 5 16 1111111110010000
3 6 16 1111111110010001
3 7 16 1111111110010010
3 8 16 1111111110010011
4 1 6 111011
4 2 10 1111111000
4 3 16 1111111110010110
4 4 16 1111111110010111
4 5 16 1111111110011000
4 6 16 1111111110011001
4 7 16 1111111110011010
4 8 16 1111111110011011
5 1 7 1111010
5 2 11 11111110111
5 3 16 1111111110011110
5 4 16 1111111110011111
5 5 16 1111111110100000
5 6 16 1111111110100001
5 7 16 1111111110100010
5 8 16 1111111110100011
6 1 7 1111011
6 2 12 111111110110
6 3 16 1111111110100110
6 4 16 1111111110100111
6 5 16 1111111110101000
6 6 16 1111111110101001
6 7 16 1111111110101010
6 8 16 1111111110101011
7 1 8 11111010
7 2 12 111111110111
7 3 16 1111111110101110
7 4 16 1111111110101111
7 5 16 1111111110110000
7 6 16 1111111110110001
7 7 16 1111111110110010
7 8 16 1111111110110011
8 1 9 111111000
8 2 15 111111111000000
8 3 16 1111111110110110
8 4 16 1111111110110111
8 5 16 1111111110111000
8 6 16 1111111110111001
8 7 16 1111111110111010
8 8 16 1111111110111011
9 1 9 111111001
9 2 16 1111111110111110
9 3 16 1111111110111111
9 4 16 1111111111000000
9 5 16 1111111111000001
9 6 16 1111111111000010
9 7 16 1111111111000011
9 8 16 1111111111000100
10 1 9 111111010
10 2 16 1111111111000111
10 3 16 1111111111001000
10 4 16 1111111111001001
10 5 16 1111111111001010
10 6 16 1111111111001011
10 7 16 1111111111001100
10 8 16 1111111111001101
11 1 10 1111111001
11 2 16 1111111111010000
11 3 16 1111111111010001
11 4 16 1111111111010010
11 5 16 1111111111010011
11 6 16 1111111111010100
11 7 16 1111111111010101
11 8 16 1111111111010110
12 1 10 1111111010
12 2 16 1111111111011001
12 3 16 1111111111011010
12 4 16 1111111111011011
12 5 16 1111111111011100
12 6 16 1111111111011101
12 7 16 1111111111011110
12 8 16 1111111111011111
13 1 11 11111111000
13 2 11 1111111111100010
13 3 16 1111111111100011
13 4 16 1111111111100100
13 5 16 1111111111100101
13 6 16 1111111111100110
13 7 16 1111111111100111
13 8 16 1111111111101000
14 1 16 1111111111101011
14 2 16 1111111111101100
14 3 16 1111111111101101
14 4 16 1111111111101110
14 5 16 1111111111101111
14 6 16 1111111111110000
14 7 16 1111111111110001
14 8 16 1111111111110010
15 0 11 1111111001
15 1 16 1111111111110101
15 2 16 1111111111110110
15 3 16 1111111111110111
15 4 16 1111111111111000
15 5 16 1111111111111001
15 6 16 1111111111111010
15 7 16 1111111111111011
15 8 16 1111111111111100