Multimedia Compression: Audio, Image and Video Require Vast Amounts of Data
Multimedia Compression: Audio, Image and Video Require Vast Amounts of Data
Furht at.al. 96
Furht at.al. 96
Furht at.al. 96
ordered by a zig-zag
sequence
Places low frequencies
before high frequencies
Low frequencies are likely
to be 0
Sequences of such 0
coefficients will be encoded
by fewer bits
E.G.M. Petrakis Multimedia Compression 13
DC Coefficients
Predictive coding of DC Coefficients
Adjacent blocks have similar DC intensities
Coding differences yields high compression
Furht at.al. 96
n
Xi: original pixel values
xi: restored pixel values
n: total number of pixels
E.G.M. Petrakis Multimedia Compression 19
Furht at.al. 96
1 7 7
( 2 x 1)u ( 2 y 1)v
F ( x, y )
4
u 0 v 0
C (u )C ( v ) F (u, v ) cos
16
cos
16
prediction schemes
Furht at.al. 96
Furht at.al. 96
block:
16x16pixles
Furht at.al. 96
Furht at.al. 96
Furht at.al. 96
1 n/2 m/2
MAD ( dx, dy ) F (i, j ) G (i dx, j dy )
mn i n / 2 j m / 2
F(i,j) : a block in current frame
G(i,j) : the same block in previous or future frame
(dx,dy) : vector for the search location
dx=(-p,p), dy=(-p,p)
1 if F (i, j ) G (i dx, j dy ) t
T ( dx, dy , i, j )
0 otherwise
t: predefined threshold
each pixel is classified as a matching pixel
(T=1) or a mismatching pixel (T=0)
the matching block maximizes PDC
E.G.M. Petrakis Multimedia Compression 49
Block Matching Techniques
Exhaustive: very slow but accurate
Approximation: faster but less accurate
Three-step search
2-D logarithmic search
Conjugate direction search
Parallel hierarchical 1-D search (not
discussed) Pixel difference classification
(not discussed here)
Repeat
find min MAD along dx=0,-1,1 (y fixed): M(1,0) in example
find min MAD along dy=0,-1,1 starting from previous min (x
fixed): M(2,2)
search similarly along the direction connecting the above mins
E.G.M. Petrakis Multimedia Compression 57
Other Compression
Techniques
Digital Video Interactive (DVI)
similar to MPEG-2
Fractal Image Compression
Find regions resembling fractals
Image representation at various resolutions
Sub-band image and video coding
Split signal into smaller frequency bands
Wavelet-based coding
E.G.M. Petrakis Multimedia Compression 58
References
B. Furht, S. W. Smoliar, H-J. Zang, Video and Image
Processing in Multimedia Systems, Kluwer Academic
Pub, 1996