Professional Documents
Culture Documents
Para Poder Bajar Algo
Para Poder Bajar Algo
Tcnicas de Compresin
para Multimedia
Prof. Ernesto Garca
21 de Agosto de 2013
Audio
Digitization
Sampling
Quantization
Coding
Image/Video
Digitization
Scan a picture frame
Digitize every pixel
4
8/26/2013
Compression Requirements
Storage Requirements
Compression is required !
Encoder
(compression)
Codes /
Codewords
Storage or
Networks
Codes /
Codewords
Decoder
(decompression)
Output Data
Compression Techniques
Compression Techniques
Entropy Coding
Source Coding
Hybrid Coding
Huffman Encoding
Statistical encoding
Depends on occurrence frequency of single
characters or sequences of data bytes
To determine Huffman code, it is useful to
construct a binary tree
Leaves are characters to be encoded
Nodes carry occurrence probabilities of the
characters belonging to the subtree
Differential/Predictive Encoding
Encoding the difference between actual value
and a prediction of that value
Number of Techniques
Differential Pulse Code Modulation (DPCM)
Delta Modulation (DM)
Adaptive Pulse Code Modulation (APCM)
Vector Quantization
Divide the data stream into blocks or vectors
One or two dimensional blocks
Use codebooks
Find the closest symbol in codebook for a given
sample
Transmit the reference to that symbol
Video Compression
Spatial (intra-frame) compression:
Compresses each frame in isolation (by separated),
treating it as a bitmapped image.
Based on quantization of DCT coefficients.
Spatial Compression
Image compression applied to each frame.
Temporal Compression
Key frames are spatially compressed only
Key frames often regularly spaced
(e.g., every 10 frames).