Chapter six
Chapter six
Chapter six
Image
Compression
Basic definition of image compression
Digital images require huge amounts of space for storage and large
bandwidths for transmission.
• Rd=1-1/ Cr
n2<<n1, Cr approaches infinity and Rd approaches one. This means that the
data n1 has been highly redundant.
1. Coding redundancy
3. Irrelevant information
Cont…
A code is a system of symbols used to represent a body of information or set
of events.
Assume that a discrete random variable rk, in the interval [0, L - 1] is used
If fewer bits are assigned to more probable gray-levels than to the less
probable ones, compression can be achieved.
The value of any pixel is highly correlated to its neighbors and the
information carried by individual pixels is small.
• It may or may not reduce the amount of data required to represent the image.
• This operation is irreversible. It should be omitted when error-free (loss less) compression
is
desired.
Symbol coder: creates a fixed or variable length code to represent the quantizer’s
output.
• In most cases a VLC is used (shortest code words to the most frequently occurring values
of
the quantizer’s output)
• The operation is reversible.
Cont…
Decoder Contains two
components:
• Symbol decoder
• Inverse mapper
Huffman coding is the most popular technique for VLC coding and removing
Optimal code (i.e., minimizes the number of code symbols per source symbol).
Code of:
D1 = 000
D2 = 001
D3 = 01
0 1
D4 = 1
D4
. 0 1
1 D3
0
D1 D2
Cont…
Arithmetic Coding