Abstract
This paper introduces an enhanced B-picture coding scheme that significantly improves video compression efficiency by refining decoder-side motion estimation. By integrating traditional block matching with "template matching" and "side matching" techniques, the proposed method achieves average bitrate reductions of 5.17% compared to the H.264/AVC standard, with peak savings of up to 9.31% in 1080p sequences. The scheme also incorporates an adaptive initial motion vector derivation process to maintain computational efficiency.
Introduction
In modern video compression standards, B-pictures (bi-directionally predicted pictures) are vital for achieving high compression ratios by utilizing both preceding and succeeding frames as references. To minimize the bitstream size, standards like H.264/AVC employ a "SKIP" mode, where the encoder omits motion vectors (MVs) and residual data, requiring the decoder to derive motion information from neighboring blocks.
However, conventional derivation methods, such as the DIRECT mode, often struggle with complex motion, leading to inaccuracies. While previous research has explored decoder-side Motion Estimation (ME), these approaches frequently ignore the spatial context of the current frame, resulting in visual artifacts and suboptimal compression. This paper addresses these limitations by proposing a macroblock (MB) coding mode that leverages both temporal and spatial correlations at the decoder.
Proposed Methodology
The core of the proposed scheme is a new macroblock coding mode characterized by two primary innovations: a multi-factor cost function and an adaptive search strategy.
Multi-Factor Cost Function
To ensure the derived motion vectors are both temporally accurate and spatially consistent, the algorithm minimizes a composite error function ($E_P$):
$$E_P = w_B E_B + w_T E_T + w_S E_S$$
where:
- Block Match Error ($E_B$): Measures the standard pixel difference between the forward and backward reference blocks.
- Template Match Error ($E_T$): Utilizes an "inverse-L" shaped region of previously reconstructed pixels surrounding the current block. The decoder identifies MVs that best align reference frames with this established spatial neighborhood.
- Side Match Error ($E_S$): Ensures a smooth transition between the predicted block and its neighbors, specifically targeting the reduction of "blocking" artifacts.
The inclusion of the side match error is particularly effective for maintaining visual continuity at block boundaries.
Adaptive Initial MV Derivation
Performing an exhaustive motion search at the decoder is computationally prohibitive. To mitigate this, the authors developed an adaptive derivation process. The search is initialized using motion vectors from co-located blocks in previous frames, scaled according to temporal distance. This "seeding" allows the decoder to find an optimal vector within a highly restricted search range (±1 pixel), significantly lowering the computational overhead.
Experimental Results
The proposed method was evaluated using the H.264/AVC Joint Model (JM) 16.2 reference software across a variety of standard video sequences, ranging from CIF (352×288) to 1080p (1920×1080) resolutions.
Bitrate Efficiency
The experimental data showed a consistent improvement in compression performance:
- Average Savings: The method achieved an average bitrate reduction of 5.17% across all test sequences.
- High-Resolution Gains: Performance scaled positively with resolution. In 1080p sequences like "Cactus," bitrate savings reached as high as 9.31%.
- Comparative Performance: The proposed scheme outperformed existing state-of-the-art methods by approximately 1.5% to 2% in average bitrate reduction.
Complexity Analysis
Despite the added complexity of multi-factor matching, the use of adaptive initial MVs kept decoding times manageable. The increase in processing time was found to be comparable to simpler decoder-side ME methods, making it a viable candidate for future standard integration.
Conclusion and Future Work
The proposed B-picture coding scheme demonstrates that incorporating spatial context through template and side matching significantly enhances motion derivation at the decoder. While the method provides substantial bitrate savings, particularly for high-definition content, future work is needed to optimize hardware implementations for real-time performance and to integrate these techniques into newer standards like HEVC (H.265) and VVC (H.266).
Summary updated