CMPT365 Multimedia Systems 1
Media Compression
- Image
CMPT 365 Multimedia Systems Media Compression - Image Spring 2017 - - PowerPoint PPT Presentation
CMPT 365 Multimedia Systems Media Compression - Image Spring 2017 Edited from slides by Dr. Jiangchuan Liu CMPT365 Multimedia Systems 1 Facts about JPEG JPEG - Joint Photographic Experts Group International standard: 1992 Most
CMPT365 Multimedia Systems 1
CMPT365 Multimedia Systems 2
❍ Other formats (.bmp) use similar techniques
❍ transform coding using the DCT
❍ New generation of JPEG – well, never succeeds ❍ DWT (Discrete Wavelet Transform)
CMPT365 Multimedia Systems 3
❍ Useful image contents change relatively slowly across the
Compression Ratio: 7.7 Compression Ratio: 33.9
CMPT365 Multimedia Systems 4
❍ Psychophysical experiments suggest that humans are
Compression Ratio: 7.7 Compression Ratio: 33.9
CMPT365 Multimedia Systems 5
❍ Visual acuity (accuracy in distinguishing closely spaced
CMPT365 Multimedia Systems 6
CMPT365 Multimedia Systems 7
❍ Zigzag Scan ❍ Differential Pulse Code Modulation (DPCM) on DC
❍ Run Length Encoding (RLE) on AC Components ❍ Entropy Coding: Huffman or Arithmetic
CMPT365 Multimedia Systems 8
CMPT365 Multimedia Systems 9
CMPT365 Multimedia Systems 10
CMPT365 Multimedia Systems 11
❍ choppy (“blocky") with high compression ratio Compression Ratio: 60.1 Compression Ratio: 7.7 Compression Ratio: 33.9
CMPT365 Multimedia Systems 12
❍ Q(u, v) of larger values towards lower right corner
❍ Q(u,v) obtained from psychophysical studies
CMPT365 Multimedia Systems 13
CMPT365 Multimedia Systems 14
CMPT365 Multimedia Systems 15
CMPT365 Multimedia Systems 16
❍ DC component of a block is large and varied, but often
❍ Encode the difference from previous
❍ Lots of zeros (or close to zero) ❍ Run Length Encoding (RLE, or RLC)
❍ (0,0) as end-of-block value.
CMPT365 Multimedia Systems 17
CMPT365 Multimedia Systems 18
CMPT365 Multimedia Systems 19
CMPT365 Multimedia Systems 20
CMPT365 Multimedia Systems 21
CMPT365 Multimedia Systems 22
CMPT365 Multimedia Systems 23
CMPT365 Multimedia Systems 24
❍ default JPEG mode, implicitly assumed in the discussions
CMPT365 Multimedia Systems 25
❍ Delivers low quality versions of the image quickly, followed by
❍ Scan 1: Encode DC and first few AC components, e.g., AC1, AC2. ❍ Scan 2: Encode a few more AC components, e.g., AC3, AC4, AC5. ❍ ... ❍ Scan k: Encode the last few ACs, e.g., AC61, AC62, AC63.
CMPT365 Multimedia Systems 26
❍ Scan 1: Encode the first few MSBs, e.g., Bits 7, 6, 5, 4. ❍ Scan 2: Encode a few more less significant bits, e.g., Bit
❍ ... ❍ Scan m: Encode the least significant bit (LSB), Bit 0.
CMPT365 Multimedia Systems 27
❍ First, lowest resolution picture (using low-pass filter) ❍ Then, successively higher resolutions
❍ transmitted in multiple passes ❍ progressively improving quality ❍ Similar to Progressive JPEG
CMPT365 Multimedia Systems 28
CMPT365 Multimedia Systems 29
CMPT365 Multimedia Systems 30
CMPT365 Multimedia Systems 31
❍ A predictor combines the values of up to three
❍ Seven schemes for combination
❍ The encoder compares the prediction with the actual
CMPT365 Multimedia Systems 32
CMPT365 Multimedia Systems 33
CMPT365 Multimedia Systems 34
CMPT365 Multimedia Systems 35
❍ .jp2 for ISO/IEC 15444-1 ❍ .jpx for extended part-2 specifications (ISO/IEC
❍ Wavelet transform based ❍ 20% gain in compression
CMPT365 Multimedia Systems 36
CMPT365 Multimedia Systems 37
CMPT365 Multimedia Systems 38
❍ The JPEG Still Image Compression Standard by
❍ JPEG2000: Image Compression Fundamentals, Standards,
❍ Image and Video Compression Standards: Algorithms and