JPEG - Multimedia - Lecture Slides, Slides of Multimedia Applications

The main points are:Jpeg, Standard, Image Compression, International Standard, Joint Photographic Expert, Compression, Coding, Acceptable Compression, Range, Scale

Typology: Slides

2012/2013

Uploaded on 04/29/2013

architay
architay 🇮🇳

4.4

(17)

112 documents

1 / 40

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
JPEG
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28

Partial preview of the text

Download JPEG - Multimedia - Lecture Slides and more Slides Multimedia Applications in PDF only on Docsity!

JPEG

The JPEG Standard

  • JPEG is an image compression standard which

was accepted as an international standard in

  • Developed by the Joint Photographic Expert Group of the ISO/IEC
  • For coding and compression of color/gray scale images
  • Yields acceptable compression in the 10:1 range

The JPEG Standard

  • JPEG is effective because of the following

three observations

  • Image data usually changes slowly across an image, especially within an 8x8 block - Therefore images contain much redundancy
  • Experiments indicate that humans are not very sensitive to the high frequency data images - Therefore we can remove much of this data using transform coding

The JPEG Standard

  • Humans are much more sensitive to

brightness (luminance) information than to

color (chrominance)

  • JPEG uses chroma subsampling (4:2:0)
  • The following slide gives an overview of the

various steps in JPEG compression

JPEG Encoding Overview

  • The main steps in JPEG encoding are the

following

  • Transform RGB to YUV or YIQ and subsample color
  • DCT on 8x8 image blocks
  • Quantization
  • Zig-zag ordering and run-length encoding
  • Entropy coding

DCT on Image Blocks

  • The image is divided up into 8x8 blocks
    • 2D DCT is performed on each block
    • The DCT is performed independently for each block
    • This is why, when a high degree of compression is requested, JPEG gives a “blocky” image result

Quantization

  • Use larger entries in Q for the higher spatial

frequencies

  • These are entries to the lower right part of the matrix
  • The following slide shows the default Q ( u , v ) values for luminance and chrominance - Based on psychophysical studies intended to maximize compression ratios while minimizing perceptual distortion - Since after division the entries are smaller, we can use fewer bits to encode them

Quantization

Original and DCT coded block

Quantized and Reconstructed

Blocks

Same steps on a less homogeneous

block

  • Steps 2 and

Preparation for Entropy Coding

  • We have seen two main steps in JPEG coding:

DCT and quantization

  • The remaining steps all lead up to entropy

coding of the quantized DCT coefficients

  • These additional data compression steps are lossless
  • Most of the lossiness is in the quantization step

Run-Length Coding

  • We now do run-length coding
    • The AC and DC components are treated differently
    • Since after quantization we have many 0 AC components, RLC is a good idea
    • Note that most of the zero components are towards the lower right corner (high spatial frequencies)
    • To take advantage of this, use zigzag scanning to create a 64-vector