Tải bản đầy đủ (.pdf) (8 trang)

Differential PCM DPCM

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (278.32 KB, 8 trang )

1
Bernd Girod: EE368b Image and Video Compression DPCM no. 1
DPCM - Overview
n Principle of Differential Pulse Code Modulation (DPCM)
n Characteristics of DPCM quantization errors
n Adaptive intra-interframe DPCM
n Conditional Replenishment
Bernd Girod: EE368b Image and Video Compression DPCM no. 2
Principle of DPCM
quantizer
entropy
coder
predictor
+
+
-
+
e'
s'
e
input
channel
s
+
+
predictor
entropy
decoder
s'
e'
output


s
channel
s
coder
decoder
Prediction error Reconstruction Reconstruction error =
quantization error
e
=
s

ˆ
s

s
=

e
+
ˆ
s

s

s
=

e

e

=
q
2
Bernd Girod: EE368b Image and Video Compression DPCM no. 3
Quantization error feedback
in the DPCM coder
n Assuming a linear predictor, the DPCM coder is equivalent
to the following structure:
n Transfer function of the prefilter:
n Transfer function of quantization error feedback:
quantizer
s
e
+
-
-
s (s)
s (q)
q (e)
-
+
e
e'
~
predictor
predictor
transfer function of the predictor
˜
E (


)
=
1

P(

)
[
]
S(

)

E (

)
=
˜
E (

)
+
1

P(

)
[
]
Q(


)


-
abbreviation for
frequency vector,
e.g.,
ω
x
,
ω
y
( )
Bernd Girod: EE368b Image and Video Compression DPCM no. 4
Power spectrum of the DPCM
quantization error
n Power spectral density of the quantization error q measured
for intraframe DPCM with a 16 level quantizer
ω
x
ω
y
π
π
−π
−π
0
0
3

Bernd Girod: EE368b Image and Video Compression DPCM no. 5
Signal distortions due to
intraframe DPCM coding
n Granular noise: random
noise in flat areas of the
picture
n Edge busyness: jittery
appearance of edges
(for video)
n Slope overload: blur of
high-contrast edges,
Moire patterns in periodic
structures.
Bernd Girod: EE368b Image and Video Compression DPCM no. 6
Example of intraframe DPCM coding
prediction error coding
1 bit/pixel
2 bit/pixel 3 bit/pixel
4 bit/pixel original
slope overload
edge busyness
granular noise
n Linear predictor:
n Lloyd-Max quantizers
n Fixed-length coding
1/2
0 1/4 1/4
4
Bernd Girod: EE368b Image and Video Compression DPCM no. 7
Interframe coding of video signals

n Interframe coding exploits:
l similarity of temporally successive pictures
l temporal properties of human vision
n Important interframe coding methods:
l Adaptive intra-interframe coding
l Conditional replenishment
l Motion-compensated prediction
l Motion-compensated interpolation
Bernd Girod: EE368b Image and Video Compression DPCM no. 8
Principle of adaptive intra-interframe DPCM
n Predictor is switched between two states:
A: Intraframe prediction for
moving or changed areas.
B: Interframe prediction (previous frame
prediction) for still areas of the picture.
S
22
S
23
S
24
S
21
S
20
S
25
FRAME N - 1
S
2

S
3
S
4
S
1
S
0
FRAME N
S
22
S
23
S
24
S
21
S
20
S
25
FRAME N - 1
S
2
S
3
S
4
S
1

S
0
FRAME N
40 ms
ˆ
S
intra
=
a
1
S
1
+
a
2
S
2
+
a
3
S
3
+
a
4
S
4
ˆ
S
inter

=
S
20
frame
interval τ
5
Bernd Girod: EE368b Image and Video Compression DPCM no. 9
Intra-interframe DPCM: feedback adaptation
Interframe
predictor
Intraframe
predictor
Variable
length decoder
Variable
length coder
Quantizer
Interframe
predictor
Intraframe
predictor
Predictor
adaptation
es
+
-
s
^
s
^

inter
s
^
intra
s'
e'
e'
s
^
s
^
inter
s
^
intra
s'
Predictor
adaptation
Coder Decoder
Bernd Girod: EE368b Image and Video Compression DPCM no. 10
Intra-interframe DPCM: feedforward adaptation
Interframe
predictor
Intraframe
predictor
Variable
length decoder
Variable
length coder
Quantizer

Interframe
predictor
Intraframe
predictor
Predictor
adaptation
es
+
-
s
^
s
^
inter
s
^
intra
s'
e'
e'
s
^
s
^
inter
s
^
intra
s'
intra-/interframe

switching information
Coder Decoder
6
Bernd Girod: EE368b Image and Video Compression DPCM no. 11
Conditional replenishment
n Still areas: repeat from frame store
n Moving areas: encode and transmit address and waveform
SIGNAL
INPUT
SEGMENTER
(MOVEMENT
DETECTOR)
CODING,
ADDRESSING,
BUFFERING
BUFFERING,
DECODING,
ADDRESSING
FRAME DELAY
(1 PICTURE MEMORY)
FRAME DELAY
(1 PICTURE MEMORY)
TRANSMISSION
CHANNEL
SIGNAL
OUTPUT
CODER
DECODER
Change
detector

Frame store Frame store
Bernd Girod: EE368b Image and Video Compression DPCM no. 12
Change detection
n Example of a pixel-wise change detector
n Example of a block-wise change detector
ABS
Average
of 3x3
window
Eliminate isolated
points or pairs of
points
+
-
Current
frame
Previous
frame
Decision
changed/
unchanged
Threshold
ABS
Accumulate
over NxN
blocks
+
-
Current
frame

Previous
frame
Decision
changed/
unchanged
Threshold
7
Bernd Girod: EE368b Image and Video Compression DPCM no. 13
The “Dirty Window” effect
n Conditional replenishment scheme with change detection
threshold set too high leads to the subjective impression of
looking through a dirty window.
Background
Moving area
picked up by
change detector
Moving areas
missed by
change detector
Bernd Girod: EE368b Image and Video Compression DPCM no. 14
Crawford noise reduction filter
+
-
+
+
δδ
f(
δδ
)
NL

frame
store
clean video
signal
noisy video
signal
δδ
f(
δδ
)
Non-
linearity
8
Bernd Girod: EE368b Image and Video Compression DPCM no. 15
DPCM - Summary
n DPCM: Prediction from previously coded/transmitted samples (known at
transmitter and receiver)
n Typical signal distortions for intraframe DPCM: granular noise, edge
busyness, slope overload
n Adaptive Intra-Interframe-DPCM: forward adaptation vs. backward
adaptation
n Conditional replenishment: only transmit frame-to-frame changes
n Temporal noise reduction by nonlinear, recursive frame differencing

Tài liệu bạn tìm kiếm đã sẵn sàng tải về

Tải bản đầy đủ ngay
×