0% found this document useful (0 votes)
41 views24 pages

Image Compression 4 Update

The document discusses the JPEG image compression technique. JPEG uses DCT-based compression and is designed for continuous-tone images like photographs. It works by dividing an image into 8x8 pixel blocks, applying DCT, quantizing coefficients, and coding the output. The process is lossy but aims to minimize quality loss while achieving high compression ratios suitable for web and email use. Key steps include DCT, quantization with customizable tables, and entropy coding prior to transmission and decoding.

Uploaded by

Mohamd barca
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views24 pages

Image Compression 4 Update

The document discusses the JPEG image compression technique. JPEG uses DCT-based compression and is designed for continuous-tone images like photographs. It works by dividing an image into 8x8 pixel blocks, applying DCT, quantizing coefficients, and coding the output. The process is lossy but aims to minimize quality loss while achieving high compression ratios suitable for web and email use. Key steps include DCT, quantization with customizable tables, and entropy coding prior to transmission and decoding.

Uploaded by

Mohamd barca
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

Multimedia Computing

Department of Computer Techniques Engineering

By
Dr. Fadwa Al Azzo
[email protected]
Multimedia Computing

Image Compression Technique (4)


Image Compression
 DCT-based JPEG (Joint Photographic Expert Group) Standard

• JPEG is the acronym for Joint Photographers Experts Group.


• JPEG is compression method for color and grayscale still images.
• It is not applicable for bi-level images very well.
• JPEG is designed as a compression method for continuous tone images.
• A continuous tone image is one where each color at any point in the image is reproduced as a single tone, and not as
discrete halftones, such as one single color for monochromatic prints, or a combination of halftones for color prints.

• Its main goals are:


 High compression ratios, especially in cases where quality is judged as very good to excellent.
 The use of many parameters, allowing advanced users to experiment and achieve the desired compression/quality
tradeoff.
 Obtaining good results with continuous tone image, regardless of image features (size, color space etc).
 A sophisticated but not a complex compression method, allowing software and hardware implementations on many
platforms.
Image Compression
 DCT-based JPEG (Joint Photographic Expert Group) Standard

• Advantages:
 Applicable for both gray level (8 bit) as well as Color images (24 bit).
 Customizable Quantization tables and Huffman tables provide flexibility to users for developing the algorithm.
 The resultant image is capable of representing 8-bit as well as 24-bit images.

• Dis-advantages:
 JPEG is a lossy compression. Therefore a tradeoff between quality of image and quality factor is necessary.
 Not well applicable for binary images
 Since it is lossy compression, it is not very well suitable for Medical and Satellite images.
Image Compression
 DCT-based JPEG (Joint Photographic Expert Group) Standard
 The Process:
Image Compression
 DCT-based JPEG (Joint Photographic Expert Group) Standard


Image Compression
 DCT-based JPEG (Joint Photographic Expert Group) Standard

• The DCT Matrix

0
Image Compression
 DCT-based JPEG (Joint Photographic Expert Group) Standard

• Doing DCT on an 8x8 Block


Image Compression
 DCT-based JPEG (Joint Photographic Expert Group) Standard

• Doing DCT on an 8x8 Block


Image Compression
 DCT-based JPEG (Joint Photographic Expert Group) Standard

• Doing DCT on an 8x8 Block


Image Compression
 DCT-based JPEG (Joint Photographic Expert Group) Standard

• Quantization
Image Compression
 DCT-based JPEG (Joint Photographic Expert Group) Standard

• Quantization
Image Compression
 DCT-based JPEG (Joint Photographic Expert Group) Standard

• Quantization
Image Compression
 DCT-based JPEG (Joint Photographic Expert Group) Standard

• Coding
Image Compression
 DCT-based JPEG Standard
• Once the encoded file is received the decoding is the inverse process given below.
Image Compression
 DCT-based JPEG (Joint Photographic Expert Group) Standard

• Decompression
Image Compression
 DCT-based JPEG (Joint Photographic Expert Group) Standard
• Comparison of Matrices
Image Compression
 DCT-based JPEG Standard

• Consider the following 8-bit image with size 512 x 512 pixels.
Image Compression
 DCT-based JPEG Standard
Image Compression
 DCT-based JPEG Standard
Image Compression
 DCT-based JPEG Standard
Image Compression
 DCT-based JPEG Standard
Image Compression
 DCT-based JPEG Standard

• Compressed image examples for changing compression ratios.

You might also like