Multimedia Compression Techniques
Multimedia Compression Techniques
COMPRESSION
STANDARDS
JPEG
Splitting
Color space transformations
DCT
Quantization
Serialization
Vectoring
Encoding
1.SPLITTING
• The input image is divided into a small block which is having 8x8
dimensions. This dimension is sum up to 64 units. Each unit of the
image is called pixel.
2.COLOR SPACE TRANSFORM
FORMULA:-
4.Quantization
Humans are unable to see important aspects of the image because they are having
high frequencies. The matrix after DCT conversion can only preserve values at the
lowest frequency that to in certain point. Quantization is used to reduce the number of
bits per sample.
There are two types of Quantization:
1.Uniform Quantization
2.Non-Uniform Quantization
5.Serialization
In the last stage, we apply to encode either run-length encoding or Huffman encoding.
The main aim is to convert the image into text and by applying any encoding we
convert it into binary form (0, 1) to compress the data.
Run Length Encoding (RLE)
MPEG
MPEG stands for Moving Picture Experts Group. It is a working group of authorities
which is established to set standards for audio and video compression and transmission
MPEG group is formed by International Organization for Standardization (ISO) and
International Electrotechnical Commission (IEC). It has released various versions of file
(standards) namely MPEG-1, MPEG-2, MPEG-3, MPEG-4, MPEG-7, MPEG-21 etc.
The MPEG standard is a set of specification for compressed audio and video file. It is
designed for storing video on Digital Audio Tapes (DAT) and audio files on standard
audio Compact Disc (CD).
The MPEG file has ".mpeg" as a file extension.
How Does MPEG Work?
• The MPEG algorithm compresses the data to small bits. These bits can
be easily transmitted and decompressed and then the video is encoded
through a technique called Discrete Cosine Transform (DCT). The
compression rate of MPEG is very high as it stores only the changes
that occur from one frame to another frame. It does not store the
complete frame that allows it reduce the size of overall file.
Four video compression techniques:-
1. Pre-processing
2. Temporal prediction
3. Motion compensation
4. Quantization
Pre-processing
Try to match each block in the actual picture to content in the previous
picture. Matching is made by shifting each of the 8x8 blocks of the two
successive pictures pixel by pixel each direction
Subtract the two blocks
Transmit the motion vector and the difference block.
Quantization
• Lossy compression
• Compressed range of value by a single quantum value
• Quantization matrix is designed to provide more resolution to
perceivable frequency
• Set much of the unnecessary elements to Zero
• Uses a Zig Zag ordering and run length encoding.
THANKYOU!