Image Compression I
Image Compression I
Overview
Image compression is the image Data Elaboration Branch dedicated to the image data representation. Image compression addresses the problem of reducing the amount of data required to represent a digital image. The underlying basis of the reduction process is the removal of redundant data.
Redundant Data
Information
Data Redundancy
Data redundancy is a central issue in digital image compression. It is not an abstract concept but a mathematically quantifiable entity. If n1 and n2 denote the number of information carrying units in two data set
RD =1 - ( 1 / CR )
Information
CR = (n1/n2)
Formats of Images
BITMAP FORMAT Files with .bmp extension. Each pixel is represented by a fixed no. of bits (integral power of 2). A typical BMP file usually contains the following blocks of data: BMP Header stores general information. Bitmap Information stores detailed information
Information
Color Palette stores the definition of the colors. Bitmap Data stores the actual image pixel by pixel.
Advantages : Advantages
Simple. Widely used.
Disadvantages:
Minimum or zero compression.
Information
GRAPHICS INTERCHANGE FORMAT 256 colors out of a palette of 224 color are indexed. Amongst the oldest formats available. Supports animations Palette: In computer graphics, a palette is either a given, finite set of colors for the management of digital images . PORTABLE NETWORK GRAPHICS FORMAT
Information Developed to improve upon and replace GIF. Supports 2D interlacing, transparency and variable color depth. Uses lossless data compression.
Advantages
A PNG image with an 8-bit transparency channel (left). The same image is overlaid onto a checkered background (right), to highlight the transparency.
Advantages
Information
Advantages
Developed by Aldus and Microsoft . Tags used to indicate how data is arrange.
Advantages :
Highly flexible and platform independent. Widely used by scanning, faxing, word processing, image manipulation applications. Capable of describing grayscale, palette-color and full color image data. Disadvantages :
Information
JPEG 2000
What is JPEG ?
Joint Photographic Expert Group Voted as International Standard in 1992 for photographs. Works with color and grayscale image. Lossy. JPEG is not an algorithm but rather a framework with several algorithm and user settings.
JPEG Framework
Input Info.
Codeword assignment
Quantization
Coded bit-string
Inverse transformation
Reconstructed Information
JPEG Compression
JPEG is commonly used method of lossy compression for image. This is ideal for large images that will be displayed while downloading over a slow connections
EXAMPLE:
EXAMPLE
Advantages :
Disadvantage :
Doesnt support transparency. Doesnt work well with sharp edges. Almost always lossy .
JPEG 2000
This standard finalized in 2001.
It defines a new image coding scheme using state-of-the-art compression techniques based on wavelet technology.
The standardized file name extension is .jp2 . It provides flexibility. It fully supports transparency.
Example:
Original image
Software
Blubox AlSee 6.2 Picshrink 2.3 Rea Compressor 1.95 Web Image Guru Suite 5.5
Conclusion
Every format has its own advantages and disadvantages. Depending upon the application the appropriate format should be used. Only redeeming feature of gif : support animations. TIFF is appropriate where flexibility is needed. JPEG is good for photography. JPEG2000 is an all encompassing standard. Image Compression is necessary in any instance where images need to be stored, transmitted or viewed quickly and efficiently .
References
www. google. co. in www. en. wikipedia. com www. answers. com http://www. jpeg.org Digital Image Processing by Gonzalez & Woods
Thank You