Lossless Compression: 100% accurate reconstruction of the original data
Lossy Compression: The reconstruction involves errors
which may or may not be tolerable
Bit Rate: Average number of bits per original data element after compression
Signal-to-Noise Ratio (SNR) in the case of lossy compression.
Let I be an original signal (e.g., an image), and
be its lossily reconstructed
counterpart. SNR is defined to be:
Coding: Compression
Codeword: A binary string representing either the whole coded data
or one coded data symbol
Neighboring pixels tend to exhibit high correlations
Techniques: Decorrelation and/or processing in the frequency
domain
Spatial decorrelation converts correlations into symbol- or
block-redundancy
Frequency domain processing addresses visual redundancy
(see the next slide)
Inter-Pixel Temporal Redundancy (in Video)
Often, the majority of corresponding pixels in successive
video-frames are identical over long spans of frames
Due to motion, blocks of pixels change in position but not
in values between successive frames
Thus, block-oriented motion-compensated redundancy reduction
techniques are used for video compression
Visual Redundancy
The human visual system (HVS) has certain limitations
that make many image contents invisible.
Those contents, termed visually redundant, are the target
of removal in lossy compression.
In fact, the HVS can see within a small range of spatial
frequencies: 1-60 cycles/arc-degree
(Plot by hand the contrast sensitivity function)
Approach for reducing visual redundancy in lossy compression
Transform: Convert the data to the frequency domain
Discrete Memoryless Source S: A data generator where the alphabet
is finite and the symbols generated are independent of
one another. Assume the alphabet is {a1,a2,...,an}
Let pk = Probability that symbol ak is generated
(transmitted) by the source