TL;DR
This paper proposes a "Multiple Line-Based Intra Prediction" scheme for HEVC that breaks the tradition of only using the single nearest row/column of pixels for spatial prediction. By leveraging up to four reference lines and introducing a novel residue compensation technique to calibrate boundary predictions, the authors achieve an average bitrate reduction of 2.0% (and up to 3.7%) with manageable encoding complexity.
What Problem Does This Paper Address?
In video coding, intra prediction exploits spatial redundancy by predicting the pixels of a current block from previously reconstructed neighboring pixels. Standard HEVC (H.265) uses only the nearest adjacent line of pixels as a reference.
The authors identify two major flaws in this "nearest-neighbor-only" approach:
- Incoherence: The nearest line might contain signal noise or textures from an adjacent object that don't match the current block's internal patterns.
- The Boundary Quality Paradox: Due to how transform-based coding (like DCT) works, quantization errors are often concentrated at block boundaries. Ironically, the "nearest" reference pixels—which are at the boundaries of previously coded blocks—often have the worst reconstruction quality.
Methods
The paper introduces three core technical components:
1. Multiple Reference Lines
Instead of just using line $L_0$ (the nearest), the encoder can choose from four lines ($L_0, L_1, L_2, L_3$). For angular modes, pixels are projected from these further lines into the current block. This provides the encoder with "cleaner" or more structurally consistent options for prediction.
2. Residue Compensation
When using a "further" reference line (e.g., $L_3$), there is a physical gap between the reference and the block. The authors utilize the reconstructed pixels within that gap to estimate a "residue" (the difference between the new prediction and the actual reconstructed pixels in the gap). This residue is then used to calibrate the prediction of the boundary pixels of the current block, effectively "smoothing" the transition and improving accuracy.
3. Fast Encoding Algorithms
Checking four reference lines for every block would quadruple the encoding time. To mitigate this, the authors designed three acceleration strategies:
- Subset Selection: Skipping $L_2$ based on experimental evidence that $\{L_0, L_1, L_3\}$ provides the best trade-off.
- Block Size Decision: Skipping further line checks for very large blocks (64x64) which typically contain simple, smooth textures.
- RD Cost-Based Early Termination: If the nearest line ($L_0$) provides an exceptionally good prediction, the encoder skips checking further lines.
Datasets
The proposed method was evaluated using the HEVC Common Test Conditions (CTC), which include:
- Classes A through F: A wide range of resolutions from WQVGA (416x240) to 1600p (2560x1600), including screen content.
- 4K Sequences: Eight additional 3840x2160 sequences to test performance on high-resolution content.
- Software Baseline: The HEVC Test Model (HM-16.9).
Key Insights and Ideas
- Quality over Proximity: The most surprising insight is that pixels further away can be better predictors. Because quantization error in block-based coding is non-uniform, the "inner" pixels of a previously coded block (which serve as $L_1, L_2,$ or $L_3$ for the current block) often have higher fidelity than the boundary pixels ($L_0$).
- The Gap is an Asset: Rather than seeing the distance between a further reference line and the block as a disadvantage, the authors treat the intervening reconstructed pixels as a "calibration zone" for residue compensation.
- Resolution Sensitivity: The gain from multiple lines is more pronounced in high-resolution (4K) and noisy sequences. In these cases, the "texture consistency" across multiple lines outweighs the cost of signaling which line was used.
Key Results
- Compression Efficiency: The "Full Search" version achieved an average 2.3% bit saving, peaking at 4.3% for specific sequences (e.g., TrafficFlow).
- Fast Search Performance: The optimized fast algorithm maintained a 2.0% average bit saving while increasing encoding time by 112%. While this doubles the encoding time, it is significantly more efficient than previous multi-line attempts that increased time by over 1000%.
- Lossless Coding: Even in lossless mode (where quantization error is zero), the method provided a 1.2% gain, proving that the benefit isn't just about avoiding quantization noise but also about capturing better structural textures.
Limitations and Future Work
- Encoding Complexity: Despite the fast algorithms, a 112% increase in encoding time is still substantial for real-time applications. Further optimization or hardware-friendly simplifications would be needed.
- Signaling Overhead: Choosing a reference line requires sending extra bits (the line index). For very small blocks or very simple textures, this overhead can sometimes negate the prediction gains.
- Future Direction: The authors suggest that integrating this with more advanced intra-prediction tools (like those later found in VVC) could yield even higher gains. (Note: Multiple Reference Line prediction was eventually adopted into the VVC/H.266 standard).
Summary updated