Professional Documents
Culture Documents
Lossy Compression: Lower The Bit-Rate by Allowing Some Acceptable Distortion of The Signal
Lossy Compression: Lower The Bit-Rate by Allowing Some Acceptable Distortion of The Signal
Lossy Compression: Lower The Bit-Rate by Allowing Some Acceptable Distortion of The Signal
Lossless coding
Rate R
D=0
Distortion D
Bernd Girod: EE368b Image and Video Compression Rate Distortion Theory no. 1
R R
D D
Bernd Girod: EE368b Image and Video Compression Rate Distortion Theory no. 2
1
Lagrangian formulation of the R-D problem
J=D+ λ R
Rate R
Distortion D
n Requires convex R-D function
Bernd Girod: EE368b Image and Video Compression Rate Distortion Theory no. 3
Bernd Girod: EE368b Image and Video Compression Rate Distortion Theory no. 4
2
Rate distortion theory
Video U V
Source Coder Decoder
Distortion
D
Bit-rate at least R
for distortion D Š D*
Bernd Girod: EE368b Image and Video Compression Rate Distortion Theory no. 5
Mutual information
3
Distortion
n Average distortion:
n Distortion criterion:
D ≤ D∗
maximum average distortion
Bernd Girod: EE368b Image and Video Compression Rate Distortion Theory no. 7
n Definition:
R(D ∗ ) = min{I(U;V )}
∗
D≤D
H(U)
R(0) Š H(U)
H(U ): entropy of the source
R( 0): rate with just not perceptible
loss of quality
D* D*
max
Bernd Girod: EE368b Image and Video Compression Rate Distortion Theory no. 8
4
Shannon Lower Bound
Bernd Girod: EE368b Image and Video Compression Rate Distortion Theory no. 9
D = E{(U − V )2 }
4
3
n Rule of thumb: 6 dB ≅ 1 bit
2
n The R(D*) for non-Gaussian 1
sources with the same
variance σ is always below
2 SNR [dB]
6 12 18 24
∗1 σ 2 σ
2
Bernd Girod: EE368b Image and Video Compression Rate Distortion Theory no. 10
5
R(D*) function for
Gaussian source with memory I
n Jointly Gaussian source with power spectrum Φ uu (ω)
n Mean squared error distortion D = E{(U − V )2 }
n Parametric formulation of the R(D*) function
1
D(θ) = ∫ min{θ,Φ uu (ω )}dω
2π ω
Φ (ω)
max 0, log uu
1 1
R(θ) = ∫ dω
2π ω
2 θ
Bernd Girod: EE368b Image and Video Compression Rate Distortion Theory no. 11
ω
white noise θ
no signal
transmitted
Bernd Girod: EE368b Image and Video Compression Rate Distortion Theory no. 12
6
Rate distortion function
for images I
n Signal model: Gaussian source with acf
Ruu (∆x, ∆y) = exp −ω 0 ∆x 2 + ∆y 2 ( )
log(Φ uu (ω x ,ω y ))
n Power spectral density: 3
−
2π ω x + ω y
2 2
2
Φ uu (ω x ,ω y ) = 2 1 +
6 dB
ω0 ω 02
ω 0 = − ln(0.93)
46.15 ω
correlation between 0
adjacent pixels 42.19 ω
0 0
0
ωy −46.15 ω
0
−42.19 ω
0 ωx
Bernd Girod: EE368b Image and Video Compression Rate Distortion Theory no. 13
3.5
memoryless increasing decreasing
3.0 Gaussian ω0
Rate [bits/sample]
2.5
~2.3 bit
2.0
Gaussian
1.5
with memory
1.0
0.5
0.0
0 5 10 15 20 25 30 35 40
SNR [dB]
Bernd Girod: EE368b Image and Video Compression Rate Distortion Theory no. 14
7
Summary: rate distortion theory
Bernd Girod: EE368b Image and Video Compression Rate Distortion Theory no. 15