BIT356 ยท 0 ยท 10 marks
What is data compression? How working mechanism of lossy DCT mode is different from expanded lossy DCT mode of data compression?
What is data compression? How working mechanism of lossy DCT mode is different from expanded lossy DCT mode of data compression?[10]
Quick answer
Data compression is a technique used to reduce the size of data files by removing redundancy and unnecessary information. It involves encoding information using fewer bits than the original representation, thereby reducing storage space and transmission bandwidth requirements.
Model Answer: Data Compression and DCT Modes
What is Data Compression?
Key objectives of data compression:
- Reduce file size for efficient storage
- Minimize transmission time and bandwidth usage
- Maintain data integrity (in lossless) or acceptable quality (in lossy)
Lossy DCT Mode vs. Expanded Lossy DCT Mode
Lossy DCT (Discrete Cosine Transform) Mode
Working Mechanism:
- Divides image/data into fixed-size blocks (typically 8ร8 pixels)
- Applies DCT to transform spatial domain data into frequency domain
- Quantizes high-frequency components by dividing by quantization matrix values
- Discards or heavily reduces high-frequency coefficients (human eye is less sensitive to these)
- Applies entropy coding (Huffman/arithmetic coding) to compress further
- Result: Irreversible compression with some quality loss
Characteristics:
- Simple block-based processing
- Moderate compression ratios
- Visible artifacts at block boundaries
- Suitable for JPEG compression
Expanded Lossy DCT Mode
Working Mechanism:
- Extends standard DCT by processing overlapping blocks instead of fixed non-overlapping blocks
- Uses window functions (e.g., sine window) to smooth transitions between blocks
- Applies DCT on overlapped regions to reduce blocking artifacts
- Quantization and entropy coding similar to standard DCT
- Result: Better quality with reduced block boundary artifacts
Key Differences:
| Aspect | Lossy DCT | Expanded Lossy DCT |
|---|---|---|
| Block Processing | Non-overlapping fixed blocks | Overlapping blocks with windowing |
| Artifacts | Visible block boundaries | Smoother transitions, fewer artifacts |
| Compression Ratio | Higher | Slightly lower (due to overlap) |
| Quality | Moderate | Better visual quality |
| Computational Cost | Lower | Higher (overlap processing) |
| Application | Standard JPEG | Advanced codecs (MPEG, H.264) |
Summary
The primary difference is that expanded lossy DCT uses overlapping blocks with window functions to eliminate blocking artifacts present in standard lossy DCT, resulting in superior visual quality at the cost of slightly reduced compression efficiency and increased computation.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.