An Improved Fast Affine Motion Estimation Based on Edge Detection Algorithm for VVC

Weizheng Ren, Wei He, Yansong CuiSymmetry 2020

TL;DR

This paper tackles the increased encoding time associated with the advanced affine motion compensation (AMC) in the Versatile Video Coding (VVC) standard. By introducing an improved fast gradient descent algorithm incorporating edge detection and momentum, the authors achieve a significant reduction in encoding time for AMC, saving about 30% of its original time, with a minimal impact on video quality.

What Problem Does This Paper Address?

The Versatile Video Coding (VVC) standard, a successor to HEVC, introduces sophisticated techniques like multiple-mode affine motion compensation (MM-AMC) to improve compression efficiency, promising 15-25% bitrate savings. However, these advancements come at the cost of increased encoding complexity and time. Specifically, the affine motion model, while powerful for capturing complex movements like rotation and shearing, is computationally intensive. This paper aims to alleviate this encoding time burden by proposing an optimized affine motion estimation algorithm that maintains or slightly improves compression efficiency while significantly speeding up the process.

Methods

The core of this paper lies in improving the fast affine motion estimation (AME) process within VVC. The authors leverage the iterative gradient descent approach, a standard technique for motion estimation. Their key innovations include:

  • Edge Detection for Gradient Prediction: Instead of relying solely on pixel values, they use the Sobel operator to calculate gradients. This edge detection helps predict the direction of the gradient more effectively, especially in smooth regions, leading to faster convergence.
  • Momentum for Gradient Descent: To prevent oscillations and accelerate convergence, they introduce a momentum term. This term helps the gradient descent process maintain its direction when the current and previous gradients align, and slow down when they diverge, leading to a more stable and efficient search.
  • Modified AAMVP for 6-Parameter Model: They propose a new rule for selecting affine motion vector prediction (AMVP) candidates specifically for the 6-parameter affine motion model. This rule prioritizes candidates that are more likely to represent complex motions, improving the efficiency of the prediction process.

These methods are integrated into the VVC test model (VTM-7.0) to evaluate their effectiveness.

Datasets

The experiments were conducted using the VVC test model (VTM-7.0) and a standard set of video sequences from classes A to F, covering resolutions from 416x240 to 2560x1600. These sequences are commonly used for evaluating video coding standards. No new datasets were introduced.

Key Insights and Ideas

  • Edge Detection as a Shortcut: The insight that edge information can predict gradient behavior is crucial. It allows the algorithm to make more informed steps during the search, reducing the need for exhaustive pixel-level comparisons.
  • Momentum's Role in Stability: The introduction of momentum highlights how incorporating past information can smooth out the optimization process, preventing it from getting stuck in local minima or oscillating wildly.
  • Symmetry in Affine Models: The paper leverages the "symmetry of iterative gradient descent" and the "symmetry of AAMVP" to develop their improved algorithms, suggesting that exploiting inherent structural properties can lead to significant gains.
  • Trade-off Management: The paper demonstrates that it's possible to achieve significant speedups in complex video coding features like AMC without a substantial penalty in compression efficiency (BD-BR).

Key Results

The proposed algorithms achieved the following:

  • Encoding Time Reduction: The proposed algorithms saved 6.65% of the total encoding time on average. More specifically, they reduced the encoding time of the affine motion compensation (AMC) process by approximately 30%.
  • Compression Efficiency: The Bjøntegaard Delta Bitrate (BD-BR) showed a slight increase (penalty) of 0.21% on average compared to the anchor encoder. This is considered tolerable given the significant time savings.
  • Subjective Quality: The paper claims that the subjective video quality is not affected by the proposed algorithms. Figure 11 and 12 visually support this by showing comparable reconstructed image quality and distortion levels.

Limitations and Future Work

  • BDBR Penalty: The most notable limitation is the slight increase in BDBR (0.21% on average). While considered tolerable, it's a trade-off for the speedup.
  • Performance on "Poor Performance" Sequences: For sequences with very fast affine motion (e.g., "China Speed"), the BDBR penalty was higher (0.81%). This suggests that the fast gradient search might be less effective when gradients are not smooth.
  • Future Work: The paper doesn't explicitly detail future work, but the findings suggest that further exploration of edge-based techniques and adaptive momentum strategies could lead to even greater efficiency gains. Investigating how these improvements generalize to other video coding tools or future standards would also be a logical next step.

Summary updated

BibTeX
@inproceedings{ren2020improved,
  author = {Weizheng Ren and Wei He and Yansong Cui},
  title = {{An Improved Fast Affine Motion Estimation Based on Edge Detection Algorithm for VVC}},
  booktitle = {Symmetry},
  year = {2020},
  doi = {10.3390/sym12071143},
}
Figure