- Asked 2/8
- 2071 Bhadra · 4 marks
- 2072 Asoj · 6 marks
Data compression techniques
Short answer
Data compression encodes data with fewer bits to save storage and bandwidth. Lossless methods (RLE, Huffman, arithmetic, LZW) recover the original exactly; lossy methods (DPCM, DCT/wavelet, vector quantization, perceptual coding) discard information; hybrid methods like JPEG and MPEG combine both.
What do you mean by data compression? Explain the data compression techniques (methods).
Data compression is the process of encoding data using fewer bits than the original representation, to reduce storage space and transmission time. Decompression restores the data.
Classification of techniques
1. Lossless compression: the original data is recovered exactly. Used for text, programs, medical images.
- Entropy encoding (statistical):
- Run-length encoding (RLE): a run of repeated symbols is replaced by the symbol and its count. "AAAABBB" becomes 4A3B.
- Huffman coding: frequent symbols get short codes, rare symbols get long codes.
- Arithmetic coding: the entire message is encoded as one number in the range 0 to 1.
- Dictionary based: LZW and LZ77 replace repeated strings with dictionary references. Used in GIF, ZIP.
2. Lossy compression: some information is permanently discarded, which gives much higher compression. Used for images, audio, video.
- Prediction based: DPCM, delta modulation store differences between predicted and actual values.
- Transform based: DCT or wavelet transform concentrates energy in few coefficients, then small ones are quantized away. Used in JPEG.
- Vector quantization: blocks of samples are replaced by the nearest code word from a codebook.
- Perceptual coding: uses psychoacoustic or psychovisual models to drop what humans cannot notice (MP3).
3. Hybrid compression: combines both, for example JPEG (DCT + quantization + RLE + Huffman) and MPEG (motion compensation + DCT + Huffman).
| Standard | Media | Type |
|---|---|---|
| JPEG | Still images | Lossy (hybrid) |
| MPEG-1/2/4 | Video and audio | Lossy (hybrid) |
| H.261/H.263 | Video conferencing | Lossy |
| MP3 | Audio | Lossy |
| ZIP, GIF, PNG | General, images | Lossless |
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Need for data compression · Multimedia System, chapter 5
- Meaning of lossy compression · Multimedia System, chapter 5
- Lossless versus lossy compression · Multimedia System, chapter 5
- Why lossy compression is preferred · Multimedia System, chapter 5
- Data transfer techniques for slow I/O · Instrumentation II, chapter 1 · asked 3×
- Switching techniques in data communication · Telecommunications, chapter 8 · asked 3×
- Techniques of writing specifications · Construction Management, chapter 12 · asked 5×
- Stability limits and enhancement techniques · Power System Analysis II, chapter 6 · asked 2×