Pixel Translation Table | |
Input | Output |
Pixel Value | Coefficient |
255 | 11111111 |
254 | 11111110 |
253 | 11111101 |
252 | 11111100 |
251 | 11111011 |
250 | 11111010 |
249 | 11111001 |
248 | 11111000 |
247 | 11110111 |
246 | 11110110 |
245 | 11110101 |
244 | 11110100 |
243 | 11110011 |
242 | 11110010 |
241 | 11110001 |
240 | 11110000 |
239 | 11101111 |
238 | 11101110 |
237 | 11101101 |
236 | 11101100 |
235 | 11101011 |
234 | 11101010 |
233 | 11101001 |
232 | 11101000 |
231 | 11100111 |
230 | 11100110 |
229 | 11100101 |
228 | 11100100 |
227 | 11100011 |
226 | 11100010 |
225 | 11100001 |
224 | 11100000 |
223 | 11011111 |
222 | 11011110 |
221 | 11011101 |
220 | 11011100 |
219 | 11011011 |
218 | 11011010 |
217 | 11011001 |
216 | 11011000 |
215 | 11010111 |
214 | 11010110 |
213 | 11010101 |
212 | 11010100 |
211 | 11010011 |
210 | 11010010 |
209 | 11010001 |
208 | 11010000 |
207 | 11001111 |
206 | 11001110 |
205 | 11001101 |
204 | 11001100 |
203 | 11001011 |
202 | 11001010 |
201 | 11001001 |
200 | 11001000 |
199 | 11000111 |
198 | 11000110 |
197 | 11000101 |
196 | 11000100 |
195 | 11000011 |
194 | 11000010 |
193 | 11000001 |
192 | 11000000 |
191 | 10111111 |
190 | 10111110 |
189 | 10111101 |
188 | 10111100 |
187 | 10111011 |
186 | 10111010 |
185 | 10111001 |
184 | 10111000 |
183 | 10110111 |
182 | 10110110 |
181 | 10110101 |
180 | 10110100 |
179 | 10110011 |
178 | 10110010 |
177 | 10110001 |
176 | 10110000 |
175 | 10101111 |
174 | 10101110 |
173 | 10101101 |
172 | 10101100 |
171 | 10101011 |
170 | 10101010 |
169 | 10101001 |
168 | 10101000 |
167 | 10100111 |
166 | 10100110 |
165 | 10100101 |
164 | 10100100 |
163 | 10100011 |
162 | 10100010 |
161 | 10100001 |
160 | 10100000 |
159 | 10011111 |
158 | 10011110 |
157 | 10011101 |
156 | 10011100 |
155 | 10011011 |
154 | 10011010 |
153 | 10011001 |
152 | 10011000 |
151 | 10010111 |
150 | 10010110 |
149 | 10010101 |
148 | 10010100 |
147 | 10010011 |
146 | 10010010 |
145 | 10010001 |
144 | 10010000 |
143 | 10001111 |
142 | 10001110 |
141 | 10001101 |
140 | 10001100 |
139 | 10001011 |
138 | 10001010 |
137 | 10001001 |
136 | 10001000 |
135 | 10000111 |
134 | 10000110 |
133 | 10000101 |
132 | 10000100 |
131 | 10000011 |
130 | 10000010 |
129 | 10000001 |
128 | 10000000 |
127 | 1111111 |
126 | 1111110 |
125 | 1111101 |
124 | 1111100 |
123 | 1111011 |
122 | 1111010 |
121 | 1111001 |
120 | 1111000 |
119 | 1110111 |
118 | 1110110 |
117 | 1110101 |
116 | 1110100 |
115 | 1110011 |
114 | 1110010 |
113 | 1110001 |
112 | 1110000 |
111 | 1101111 |
110 | 1101110 |
109 | 1101101 |
108 | 1101100 |
107 | 1101011 |
106 | 1101010 |
105 | 1101001 |
104 | 1101000 |
103 | 1100111 |
102 | 1100110 |
101 | 1100101 |
100 | 1100100 |
99 | 1100011 |
98 | 1100010 |
97 | 1100001 |
96 | 1100000 |
95 | 1011111 |
94 | 1011110 |
93 | 1011101 |
92 | 1011100 |
91 | 1011011 |
90 | 1011010 |
89 | 1011001 |
88 | 1011000 |
87 | 1010111 |
86 | 1010110 |
85 | 1010101 |
84 | 1010100 |
83 | 1010011 |
82 | 1010010 |
81 | 1010001 |
80 | 1010000 |
79 | 1001111 |
78 | 1001110 |
77 | 1001101 |
76 | 1001100 |
75 | 1001011 |
74 | 1001010 |
73 | 1001001 |
72 | 1001000 |
71 | 1000111 |
70 | 1000110 |
69 | 1000101 |
68 | 1000100 |
67 | 1000011 |
66 | 1000010 |
65 | 1000001 |
64 | 1000000 |
63 | 111111 |
62 | 111110 |
61 | 111101 |
60 | 111100 |
59 | 111011 |
58 | 111010 |
57 | 111001 |
56 | 111000 |
55 | 110111 |
54 | 110110 |
53 | 110101 |
52 | 110100 |
51 | 110011 |
50 | 110010 |
49 | 110001 |
48 | 110000 |
47 | 101111 |
46 | 101110 |
45 | 101101 |
44 | 101100 |
43 | 101011 |
42 | 101010 |
41 | 101001 |
40 | 101000 |
39 | 100111 |
38 | 100110 |
37 | 100101 |
36 | 100100 |
35 | 100011 |
34 | 100010 |
33 | 100001 |
32 | 100000 |
31 | 11111 |
30 | 11110 |
29 | 11101 |
28 | 11100 |
27 | 11011 |
26 | 11010 |
25 | 11001 |
24 | 11000 |
23 | 10111 |
22 | 10110 |
21 | 10101 |
20 | 10100 |
19 | 10011 |
18 | 10010 |
17 | 10001 |
16 | 10000 |
15 | 1111 |
14 | 1110 |
13 | 1101 |
12 | 1100 |
11 | 1011 |
10 | 1010 |
9 | 1001 |
8 | 1000 |
7 | 111 |
6 | 110 |
5 | 101 |
4 | 100 |
3 | 11 |
2 | 10 |
1 | 1 |
-1 | 0 |
-2 | 01 |
-3 | 00 |
-4 | 011 |
-5 | 010 |
-6 | 001 |
-7 | 000 |
-8 | 0111 |
-9 | 0110 |
-10 | 0101 |
-11 | 0100 |
-12 | 0011 |
-13 | 0010 |
-14 | 0001 |
-15 | 0000 |
-16 | 01111 |
-17 | 01110 |
-18 | 01101 |
-19 | 01100 |
-20 | 01011 |
-21 | 01010 |
-22 | 01001 |
-23 | 01000 |
-24 | 00111 |
-25 | 00110 |
-26 | 00101 |
-27 | 00100 |
-28 | 00011 |
-29 | 00010 |
-30 | 00001 |
-31 | 00000 |
-32 | 011111 |
-33 | 011110 |
-34 | 011101 |
-35 | 011100 |
-36 | 011011 |
-37 | 011010 |
-38 | 011001 |
-39 | 011000 |
-40 | 010111 |
-41 | 010110 |
-42 | 010101 |
-43 | 010100 |
-44 | 010011 |
-45 | 010010 |
-46 | 010001 |
-47 | 010000 |
-48 | 001111 |
-49 | 001110 |
-50 | 001101 |
-51 | 001100 |
-52 | 001011 |
-53 | 001010 |
-54 | 001001 |
-55 | 001000 |
-56 | 000111 |
-57 | 000110 |
-58 | 000101 |
-59 | 000100 |
-60 | 000011 |
-61 | 000010 |
-62 | 000001 |
-63 | 000000 |
-64 | 0111111 |
-65 | 0111110 |
-66 | 0111101 |
-67 | 0111100 |
-68 | 0111011 |
-69 | 0111010 |
-70 | 0111001 |
-71 | 0111000 |
-72 | 0110111 |
-73 | 0110110 |
-74 | 0110101 |
-75 | 0110100 |
-76 | 0110011 |
-77 | 0110010 |
-78 | 0110001 |
-79 | 0110000 |
-80 | 0101111 |
-81 | 0101110 |
-82 | 0101101 |
-83 | 0101100 |
-84 | 0101011 |
-85 | 0101010 |
-86 | 0101001 |
-87 | 0101000 |
-88 | 0100111 |
-89 | 0100110 |
-90 | 0100101 |
-91 | 0100100 |
-92 | 0100011 |
-93 | 0100010 |
-94 | 0100001 |
-95 | 0100000 |
-96 | 0011111 |
-97 | 0011110 |
-98 | 0011101 |
-99 | 0011100 |
-100 | 0011011 |
-101 | 0011010 |
-102 | 0011001 |
-103 | 0011000 |
-104 | 0010111 |
-105 | 0010110 |
-106 | 0010101 |
-107 | 0010100 |
-108 | 0010011 |
-109 | 0010010 |
-110 | 0010001 |
-111 | 0010000 |
-112 | 0001111 |
-113 | 0001110 |
-114 | 0001101 |
-115 | 0001100 |
-116 | 0001011 |
-117 | 0001010 |
-118 | 0001001 |
-119 | 0001000 |
-120 | 0000111 |
-121 | 0000110 |
-122 | 0000101 |
-123 | 0000100 |
-124 | 0000011 |
-125 | 0000010 |
-126 | 0000001 |
-127 | 0000000 |
-128 | 01111111 |
-129 | 01111110 |
-130 | 01111101 |
-131 | 01111100 |
-132 | 01111011 |
-133 | 01111010 |
-134 | 01111001 |
-135 | 01111000 |
-136 | 01110111 |
-137 | 01110110 |
-138 | 01110101 |
-139 | 01110100 |
-140 | 01110011 |
-141 | 01110010 |
-142 | 01110001 |
-143 | 01110000 |
-144 | 01101111 |
-145 | 01101110 |
-146 | 01101101 |
-147 | 01101100 |
-148 | 01101011 |
-149 | 01101010 |
-150 | 01101001 |
-151 | 01101000 |
-152 | 01100111 |
-153 | 01100110 |
-154 | 01100101 |
-155 | 01100100 |
-156 | 01100011 |
-157 | 01100010 |
-158 | 01100001 |
-159 | 01100000 |
-160 | 01011111 |
-161 | 01011110 |
-162 | 01011101 |
-163 | 01011100 |
-164 | 01011011 |
-165 | 01011010 |
-166 | 01011001 |
-167 | 01011000 |
-168 | 01010111 |
-169 | 01010110 |
-170 | 01010101 |
-171 | 01010100 |
-172 | 01010011 |
-173 | 01010010 |
-174 | 01010001 |
-175 | 01010000 |
-176 | 01001111 |
-177 | 01001110 |
-178 | 01001101 |
-179 | 01001100 |
-180 | 01001011 |
-181 | 01001010 |
-182 | 01001001 |
-183 | 01001000 |
-184 | 01000111 |
-185 | 01000110 |
-186 | 01000101 |
-187 | 01000100 |
-188 | 01000011 |
-189 | 01000010 |
-190 | 01000001 |
-191 | 01000000 |
-192 | 00111111 |
-193 | 00111110 |
-194 | 00111101 |
-195 | 00111100 |
-196 | 00111011 |
-197 | 00111010 |
-198 | 00111001 |
-199 | 00111000 |
-200 | 00110111 |
-201 | 00110110 |
-202 | 00110101 |
-203 | 00110100 |
-204 | 00110011 |
-205 | 00110010 |
-206 | 00110001 |
-207 | 00110000 |
-208 | 00101111 |
-209 | 00101110 |
-210 | 00101101 |
-211 | 00101100 |
-212 | 00101011 |
-213 | 00101010 |
-214 | 00101001 |
-215 | 00101000 |
-216 | 00100111 |
-217 | 00100110 |
-218 | 00100101 |
-219 | 00100100 |
-220 | 00100011 |
-221 | 00100010 |
-222 | 00100001 |
-223 | 00100000 |
-224 | 00011111 |
-225 | 00011110 |
-226 | 00011101 |
-227 | 00011100 |
-228 | 00011011 |
-229 | 00011010 |
-230 | 00011001 |
-231 | 00011000 |
-232 | 00010111 |
-233 | 00010110 |
-234 | 00010101 |
-235 | 00010100 |
-236 | 00010011 |
-237 | 00010010 |
-238 | 00010001 |
-239 | 00010000 |
-240 | 00001111 |
-241 | 00001110 |
-242 | 00001101 |
-243 | 00001100 |
-244 | 00001011 |
-245 | 00001010 |
-246 | 00001001 |
-247 | 00001000 |
-248 | 00000111 |
-249 | 00000110 |
-250 | 00000101 |
-251 | 00000100 |
-252 | 00000011 |
-253 | 00000010 |
-254 | 00000001 |
-255 | 00000000 |
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 |