



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Spring 2004
ECE-8873 B. H. Juang
Copyright 2004
Lecture #8, Slide #
Georgia Institute of Technology
Spring, 2004
Spring 2004
ECE-8833 B. H. Juang
Copyright 2004
Lecture #8, Slide #
n x
n ∆
xˆn
n ˆ∆
u^ n
n
n
n
n^
n
n
n
n
n
n^
2
2
n
n
n
n^
x
n ∆
Recall the structural and random components of information.It is beneficial to treat them separately.
Spring 2004
ECE-8833 B. H. Juang
Copyright 2004
Lecture #8, Slide #
x^ n
Encoder(& Decoder)
Predictor
n ~x
n ∆
xˆn
n ˆ∆
2
1
n n n n n n n
n^
−
−^
n
n^
n
n
n^
But, the notion of prediction can also be applied to probabilitymeasures – foresee change in distribution based on what isor are already observed.
Spring 2004
ECE-8833 B. H. Juang
Copyright 2004
Lecture #8, Slide #
-^
-^
1
−
n
n
n^
1
2
1
−
−
−^
n
n
n
n^
−
−
−^
p i
i n i
n
n^
1
2
1
2
1
−
−^
n
n^
Assume
1
1
−
−
n
n^
(^1) −
n
n
n^
n
n
1
−
ωj e A
is high-pass.
Since most signals are low-pass type, thedifferentiator tends to “flatten” the originalspectrum.
ECE-8833 B. H. Juang
Copyright 2004
Lecture #8, Slide #
p
n X
=
π π
ω
ω
π
σ
d
X
X^
) (
(^12)
2
Consider a 0-mean process
with power spectral density
) (^ ω X
2 2
2
) (
(^12)
) (
log
(^12)
exp
X^ X
X
d
X
d
X
η σ
ω
ω
π
ω
ω
π
γ
π π π π
=
=
1
0
measure;
flatness
spectral
the
called is
≤
<
2
2
X
X
γ
γ If^
is a white noise process, n X
1
) (^
2 2
2
2
=
=
=
X X
X
X
X
σ σ
γ
σ
ω
and
n
n X
−
p i
i n i
n^
x a
x^
1
p i
i n i n n n
n^
1
n Z
n X
=
=
=
∆
∞ →
π π
ω ω π η σ σ d X X Z A p ) (
log
(^12)
exp
min lim
2
2
2
psd.
input
the
whiten to is
Prediction
psd.
flattened
most" "
the
has n ∆
Spring 2004
ECE-8833 B. H. Juang
Copyright 2004
Lecture #8, Slide #
-^
2 2 ∆
X
P
2 2
10
∆
X
P
2
2 2
max
X
X Z
P
0
5
10
12 8 4 0
Predictor order
(dB)^ PG
Low-pass speech
0
5
10
12
8 4 0
Predictor order
(dB)^ PG
Band-pass speech
ECE-8833 B. H. Juang
Copyright 2004
Lecture #8, Slide #
n
n
n^
q − ∆ = ˆ∆
n n n n n n n
n^
x
x
x
x
x
x^
n
n
n^
x^ n
Quantizer Predictor
n ~x
n ∆
n xˆ^
n ˆ∆
Predictor
n ~x
xˆ^ n
n ˆ∆
n
n
n^
−
p i
i n i
n^
1
Spring 2004
ECE-8833 B. H. Juang
Copyright 2004
Lecture #8, Slide #
^
−
=
−
=
−
2
1
2 ]) ~
[(
p i
i n i
n
n
n^
X a X E X X E Ε
measure e
performanc the as
error
squared
mean
Choose
−
−
−
− − −
=
p a a a a
r p r p r p r p r
r
r
r
p r
r
r
r
p r r r r p
r r r r
M
L
L
L
LLL
M
1 2 3
) 0 (
) 3
( ) 2
( ) 1
(
) 3
(
) 0 (
) 1 (
) 2 (
) 2
(
) 1 (
) 0 (
) 1 (
) 1
(
) 2 (
) 1 (
) 0 (
) (
) 3 (
) 2 (
) 1 (
error.
prediction
the is
−
p i
i n i n n n
n^
x a x x x e
1
2
n i
n
n
n
n
i
i^
X a
X X E X X E a a
−in
n
n^
The set of normalequations, Yule-Walkerequations, or Wiener-Hopf equations
ECE-8833 B. H. Juang
Copyright 2004
Lecture #8, Slide #
Original signal is subject to buffering and analysis to producethe “optimal” predictor to reduce the variance of
Buffering causes delay.
-^
Require transmission of the predictor specification (manypossible representations) as side information so that thereceiver can reproduce the signal.
x^ n
Quantizer Predictor
~x^ n
n ∆
n ˆ^ x
n ˆ∆
Predictor
n ~x
ˆx^ n
n ˆ∆
AdaptiveAnalysis
Side information
n ∆
Spring 2004
ECE-8833 B. H. Juang
Copyright 2004
Lecture #8, Slide #
-^
-^
-^
ECE-8833 B. H. Juang
Copyright 2004
Lecture #8, Slide #
− −
p
p i
i
n i
n^
τ
−
p i
i n i
n^
1
τ
16 kbps
Spring 2004
ECE-8833 B. H. Juang
Copyright 2004
Lecture #8, Slide #
-^
-^
Pulse train (voiced)Noise (unvoiced)
n
Long-delayPredictor
Short-delay
Predictor
excitation
vocal tract (formants)
Innovationsequence
excitation (pitch)
vocal tract (formants)
ECE-8833 B. H. Juang
Copyright 2004
Lecture #8, Slide #
Coding with the Alternative Model
Long-delayPredictor
Short-delayPredictor
codebook
index
gain Decoder/Synthesizer
Original speech Error calculation
Index iteration
& search
PerceptualWeighting
Filter
Spring 2004
ECE-8833 B. H. Juang
Copyright 2004
Lecture #8, Slide #
Perceptual Weighting & Post-Filtering
-^
-^
-^
(^60) Power (dB)-
0 Hz
16 kHz
Frequency
JND
ECE-8833 B. H. Juang
Copyright 2004
Lecture #8, Slide #
Issue of Noise Feedback
∑
∑
∑
=
−
=
−
=
−^
p i
i n i
p i
i n i
n
p i
i n i
n
n^
q a x a x x a
x^
1
1
1
ˆ
) ( / 1
) (^
z A
z B
⇔
n
n
n^
q − ∆ = ˆ∆
n n n n n n n n
n^
q x x x x x
x^
= ∆ − ∆ = − − − = − ˆ
) ~
ˆ ( ) ~
(
ˆ
n
n
n^
x
x
~ − = ∆ n n
n^
∑=
−
p i
i n i
n^
x a
x^
1
Quantization noise isthe same asreconstruction error
x^ n
Quantizer Predictor P
~x^ n
∆^ n
xˆ^ n
ˆ∆^ n
~x^ n
xˆ^ n
+^ + ˆ∆n
Predictor P
x^ n
Q
P
n ∆
n q
+^
n ~^ ∆
xˆn
n ˆ∆
P
P
q^ n
xn
+^ A n ~^ ∆
n ˆx
n ˆ∆
A
B ) ( 1 ) ( )
(^
1
z P z A z a z P
p i
i i^
=
∑
=
−
Spring 2004
ECE-8833 B. H. Juang
Copyright 2004
Lecture #8, Slide #
Noise Shaping in DPCM
(^2) | )
(
(^1) |
1
)
(
ω
ω
j
j
e P
e N
−
∝
encoder
speech
decoder
decodedspeech
ω ω
ω
j j
j
e P
e F
e N
decoder
decodedspeech
encoder
Same as open-
loop DPCM
ECE-8833 B. H. Juang
Copyright 2004
Lecture #8, Slide #
Motion Compensated Prediction
t ∆ ) , , ( ) , ,
ˆ^ (
t t v y v x U t y x U
y
x^
∆ −
−
−
=
κ
]
[^
y x
t^
v v = v
Movingobject
Stationarybackground
currentposition
previousposition
displacement
vector
v
Prediction for luminance signalwithin the object:
time
t
Previous frame
Current frame
Spring 2004
ECE-8833 B. H. Juang
Copyright 2004
Lecture #8, Slide #
MCP - Example
from Bernd Girod
ECE-8833 B. H. Juang
Copyright 2004
Lecture #8, Slide #
Motion-Compensated Prediction
intraframe
sourceencoder
intraframe
sourcedecoder
intraframe
sourcedecoder
motion compensated
predictor
Displacement
estimator
motion compensated
predictor
Displacement vector
]
[^
y x
t^
v v = v
Spring 2004
ECE-8833 B. H. Juang
Copyright 2004
Lecture #8, Slide #
MPEG Video Coding