SWE 423: Multimedia Systems - PowerPoint PPT Presentation

About This Presentation
Title:

SWE 423: Multimedia Systems

Description:

Quantize the error. Lossy Predictive Coding: DPCM. The distortion is the average squared error ... Quantization used. Uniform. Lloyd-Max. Does better than ' ... – PowerPoint PPT presentation

Number of Views:35
Avg rating:3.0/5.0
Slides: 15
Provided by: wasfiga
Category:

less

Transcript and Presenter's Notes

Title: SWE 423: Multimedia Systems


1
SWE 423 Multimedia Systems
  • Chapter 7 Data Compression (4)

2
Outline
  • Source Coding
  • Predictive Coding
  • Lossless
  • Lossy
  • DPCM
  • DM

3
Predictive Coding
  • Predictive coding simply means transmitting
    differences
  • Predict the next sample as being equal to the
    current sample
  • More complex prediction schemes can be used
  • Instead of sending the current sample, send the
    error involved in the previous assumption

4
Predictive Coding Why?
  • The idea of forming differences is to make the
    histogram of sample values more peaked.
  • In this case, what happens to the entropy?
  • As a result, which is better to compress?

5
Predictive Coding Why?
6
Lossless Predictive Coding
  • Formally, define the integer signal as the set of
    values fn. Then, we predict values fn and
    compute the error en as follows
  • when t 1, we get ...
  • Usually, t is between 2 and 4 (in this case it is
    called a linear predictor
  • We might need to have a truncating or rounding
    operation following the prediction computation

7
Lossless Predictive Coding
8
Lossless Predictive Coding Example
  • Consider the following predictor
  • Show how to code the following sequence

9
Lossless Predictive Coding
  • Examples in the Image Compression Domain
  • Differential Coding
  • Lossless JPEG

10
Lossy Predictive Coding DPCM
  • DPCM Differential Pulse Code Modulation
  • Form the prediction f n
  • Form an error en
  • Quantize the error

11
Lossy Predictive Coding DPCM
  • The distortion is the average squared error
  • To illustrate the quality of a compression
    scheme, diagrams of distortion vs. the number of
    bit levels used are usually shown
  • Quantization used
  • Uniform
  • Lloyd-Max
  • Does better than Uniform

12
Lossy Predictive Coding DPCM
13
Lossy Predictive Coding DPCM
  • Example
  • Show how to code the following sequence

14
Lossy Predictive Coding
  • DM (Delta Modulation) is a simplified version of
    DPCM that is used as a quick analog-to-digital
    converter.
  • Note that the prediction simply involves a delay
Write a Comment
User Comments (0)
About PowerShow.com