Image Compression
Image Compression
reference line
current line
Quantization Discrete
Cosine
Transform
Binary
Encoder
where
the block is N1 N2 pixels (in JPEG, 8x8)
A(i,j) is the value of pixel of position (i,j)
B(k1 ,k 2 ) is the DCT coefficient of position (k1 ,k 2 )
low values for k1 corresponds to low vertical
frequencies, low values for k 2 to low horizontal
frequencies
Generally higher frequencies have very low values
34
Quantization - II
Next, all values are rounded to nearest integer
This leads to a quite high number of 0s in the
high frequency zone, as factors are bigger
Dequantization
41