Professional Documents
Culture Documents
JPEG - Introduction
Lossless process
DCT-based
sufficient for many applications
Prediction-based
Image partitioning
8x8 block
Forward
DCT
Quantization
Quantization
Tables
Zigzag
Reordering
Entropy Coding
Table
Specification
The DCT coefficients are scaled using a userdefined normalization array that is fixed for all
blocks.
F (u , v)
F (u, v) round
Q(u , v)
Normalized/Quantized
Coefficients
79
-1 0 0 0 0 0
- 2 -1
-1 -1
0
0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0
0
0
0
0 0 0 0 0 0
0 0 0 0 0 0
0
0
0
0
0 0 0 0 0 0
0 0 0 0 0 0
Zigzag Scan
0:
1:
2:
3:
4:
5:
6:
7:
0 1 5 6 14 15 27 28
2 4 7 13 16 26 29 42
3 8 12 17 25 30 41 43
9 11 18 24 31 40 44 53
10 19 23 32 39 45 52 54
20 22 33 38 46 51 55 60
21 34 37 47 50 56 59 61
35 36 48 49 57 58 62 63
______________________________
DC Coding:
AC Coefficient Coding:
Huffman Table
Huffman Table
79 0 -2 -1 -1 -1 0 0 -1 All Zeros.
Codeword Assignment
DC diff.
codeword/11100101/000/000/000/110110/1010.
Total bits assuming 8 bits for the DC difference codeword=
35, Bit rate = 35/64 = 0.55 bits/pixel
Hierarchical mode
Hierarchical mode
Hierarchical mode