2. CONTENTS
What is JPEG?
Basic JPEG Compression Pipeline
JPEG examples
Major Coding Algorithms in JPEG
The Discrete Cosine Transform(DCT)
Significance / Where is this used?
Implementation Platform
10/6/2013 2JPEG-DCT(POM)
3. JPEG: Joint Photographic Expert Group — an
international
standard since 1992.
Works with colour and greyscale images
Up to 24 bit colour images (Unlike GIF)
Target photographic quality images (Unlike GIF)
Suitable for many applications
e.g., satellite, medical, general,photography...
What is JPEG?
10/6/2013 3JPEG-DCT(POM)
4. Continued..
JPEG standard is a collaboration among :
International Telecommunication Union (ITU)
International Organization for Standardization (ISO)
International Electrotechnical Commission (IEC)
The official names of JPEG :
Joint Photographic Experts Group
ISO/IEC 10918-1 Digital compression and coding of
continuous-tone still image
ITU-T Recommendation T.81
10/6/2013 4JPEG-DCT(POM)
5. Basic JPEG Compression Pipeline
JPEG compression involves the following:
Encoding
Decoding – Reverse the order for encoding
10/6/2013 5JPEG-DCT(POM)
6. JPEG examples
note that the two images on the left look identical
JPEG requires 6x less bits
10/6/2013 6JPEG-DCT(POM)
7. Major Coding Algorithms in JPEG
The Major Steps in JPEG Coding involve:
Colour Space Transform and subsampling (YIQ)
DCT (Discrete Cosine Transformation)
Quantisation
Zigzag Scan
DPCM on DC component
RLE on AC Components
Entropy Coding — Huffman or Arithmetic
10/6/2013 7JPEG-DCT(POM)
8. The Discrete Cosine Transform(DCT)
In the same family as the Fourier Transform
Converts data to frequency domain.
Represents data via summation of variable frequency
cosine waves.
Since it is a discrete version, conducive to problems
formatted for computer analysis.
Captures only real components of the function.
Discrete Sine Transform (DST) captures odd
(imaginary) components → not as useful.
Discrete Fourier Transform (DFT) captures both odd
and even components → computationally intense.
10/6/2013 8JPEG-DCT(POM)
9. Significance / Where is this used?
Image Processing
Compression - Ex.) JPEG
Scientific Analysis - Ex.) Radio Telescope Data
Audio Processing
Compression - Ex.) MPEG – Layer 3, aka. MP3
Scientific Computing /
High Performance Computing (HPC)
Partial Differential Equation Solvers
10/6/2013 9JPEG-DCT(POM)
10. Significance Cont.
Image Processing Example
Exhibits Energy Compaction
Drop small amplitude coefficients
Original Image DCT Transformed
Image
10/6/2013 10JPEG-DCT(POM)