Professional Documents
Culture Documents
Lecture 33
Lossless Predictive Coding
• Eliminates inter-pixel redundancies by extracting and coding only
new information in each pixel.
• New information =difference between actual and predicted value of
the next pixel.
en f n pn
f n en pn
m
pn round i f n 1
i 1
m
pn ( x, y ) round i f ( x, y 1)
i 1
Example
Sequence: 100,102,120,120,120,118,116
100
102
120
120
120
118
116
Delta Modulation
n s(n) s^(n) e(n) e`(n) s`(n)
1 33 33
2 35 33 2 4.5 37.5
4 36 33 3 4.5 37.5
6 34 33 1 4.5 37.5
8 35 33 2 4.5 37.5
10 44 42 2 4.5 46.5
12 59 51 8 4.5 55.5
14 81 60 21 4.5 64.5