MMC Unit 4
MMC Unit 4
Image Compression
Contents
1.1Introduction
1.2Graphics interchange format
1.3Tagged image file format
1.4Digitized documents
1.5Digitized pictures
1.6JPEG
Introduction
Images can be of two basic types:
1. Computer-generated (also known as graphical) images and
2. Digitized images (of both documents and pictures).
To transfer digitized images two types of compression
algorithm normally are employed:
1. A combination of run-length and statistical encoding. It is
lossless and is used for the transfer of the digitized
documents generated by scanners such as those used in
facsimile machines.
2. A combination of transform, differential, and run-length
encoding and has been developed for the compression of
both bitonal and color digitized pictures.
Graphics interchange format (GIF):
The graphics interchange format (CIF) is used extensively with the
Internet for the representation and compression of graphical images.
Color images comprising 24-bit pixels are supported 8 bits each for
R. G, and B
The resulting table of colors therefore consists of 256 entries, each
of which contains a 24-bit color value.
Thus instead of sending each pixel as a 24-bit value, only the 8-bit
index to the table entry that contains the closest match color to the
original is sent. This results in a compression ratio-of 3:1.
The table of colors can relate either to:
1. Whole image — in which case it is referred to as the global color
table
2. To a portion of the image, when it is referred to as a local color
table.
Tagged image file format
1. Image/block preparation
2. Forward DCT
3. Quantization
4. Entropy Encoding
5. Frame Building
1.6.1Image/block preparation: