Multimedia & Machine Learning Algorithms · Multimedia Algorithms
JPEG 2000 Standard — Wavelet Transform & Multi-Resolution
Explanation
Intuition — What's Wrong with JPEG?
JPEG processes separate pixel blocks. At high compression, block boundaries become visible — the blocking artifact. JPEG 2000 solves this: it applies a transform to the entire image, not separate blocks.
Discrete Wavelet Transform (DWT)
Idea: Decompose the signal into layers of Approximation and Details at different scales. At each step:
- Lowpass filter (L): Extracts the approximation — local averages, representing the coarse image.
- Highpass filter (H): Extracts the details — local changes.
- Downsampling ×2: Each filter keeps only every other sample — total coefficient count is preserved.
1D DWT (one level, simplified Haar basis):
Given a signal , one level splits into pairs:
- — Approximation sequence: local averages (large energy).
- — Detail sequence: local differences (small in smooth regions).
Perfect reconstruction: , . ✓
2D DWT: Apply 1D DWT separately to rows, then to columns. This yields 4 sub-bands:
| Sub-band | Rows | Cols | Content |
|---|---|---|---|
| LL | L | L | Approximation — small-scale image |
| LH | L | H | Horizontal edges |
| HL | H | L | Vertical edges |
| HH | H | H | Diagonal details |
Multi-level: The LL sub-band is decomposed again at the next level (LL1 LL2 LL3...). Each level describes a half-resolution version of the previous.
JPEG 2000 Advantages over JPEG
1. No blocking artifact: Global transform smooths transition regions.
2. Natural multi-resolution (Scalable Decoding): Decode only LL sub-bands to get a downscaled image — without decoding the full file.
3. Progressive transmission: Send the coarse LL first, then add detail layers progressively.
4. Higher efficiency for smooth images: In uniform regions, nearly all HH/HL/LH coefficients are small and zero out under quantization — high compression ratio.
5. Lossless support: Using an Integer Wavelet Transform (IWT), perfect reconstruction is possible.
JPEG vs JPEG 2000 Comparison
| Feature | JPEG | JPEG 2000 |
|---|---|---|
| Transform | DCT (8×8 blocks) | DWT (full image) |
| Blocking artifact | Yes | No |
| Multi-resolution | No | Yes |
| Entropy coding | Huffman | EBCOT (Arithmetic) |
Interactive Visualization
Loading visualization
Worked Examples
Practice
Exercise 1 of 6
1
What is the main structural difference between JPEG and JPEG 2000?
★Quiz
Test your knowledge from this lesson
A mix of questions from the lesson — each attempt varies slightly
Answer at least 4 out of 5 questions correctly to pass (70%)