Image Compression 2
Image Compression 2
Image Compression 2
Lecture 9
Sankalp Kallakuri
[email protected]
Arithmetic Coding
• The arithmetic codes do not generate block codes.
• There is no one to one correspondence between the
code word and the sequence of symbols.
• A random number selected from an interval is used to
depict a symbol.
• The length of the symbol decides the interval length.
a2 a2
• Solid white blocks are ‘0’ black and other blocks are
coded by ‘1’ followed by a bit pattern.
• Used in Fax.
• The variable length codes are usually used with the run length
codes to further compress the data.
ec
e c
Contour Tracing and Coding
• Direct Contour Tracing
• Start and end messages are needed to signal the starting and
ending [merge] points on the contours.
d1
d2
Transform Coding
Input Compressed
Image Construct Symbol image
Forward Quantizer
NxN nxn Encoder
Transform
subimages
DCT
Fast.