Content-Aware Fast Motion Estimation Algorithm

https://doi.org/10.1016/j.jvcir.2008.01.002Get rights and content

Abstract

In this paper, we propose the Content-Aware Fast Motion Estimation Algorithm (CAFME) that can reduce computation complexity of motion estimation (ME) in H.264/AVC while maintaining almost the same coding efficiency. Motion estimation can be divided into two phases: searching phase and matching phase. In searching phase, we propose the Simple Dynamic Search Range Algorithm (SDSR) based on video characteristics to reduce the number of search points (SP). In matching phase, we integrate the Successive Elimination Algorithm (SEA) and the integral frame to develop a new SEA for H.264/AVC video compression standard, called Successive Elimination Algorithm with Integral Frame (SEAIF). Besides, we also propose the Early Termination Algorithm (ETA) to early terminate the motion estimation of current block.

We implement the proposed algorithm in the reference software JM9.4 of H.264/AVC and the experimental results show that our proposed algorithm can reduce the number of search points about 93.1%, encoding time about 42%, while maintaining almost the same bitrate and PSNR.

Introduction

Block matching-based motion estimation (ME) and compensation is a fundamental process in international video coding standards, such as MPEG-1, MPEG-2, MPEG-4, ITU-T H.263, and H.264, which can efficiently remove temporal redundancy. Since an ME module is usually the most computational-intensive part in a typical video encoder (about 50–90% of the entire system), a efficient ME module is essential and vital.

In recent years, many fast motion estimation algorithms have been proposed. Some algorithms like Three-Step Search (TSS) [1] and Diamond Search (DS) [2], search the best matched blocks following a predefined search pattern to speed up the searching process. The Successive Elimination Algorithm (SEA) [3] is a lossless approach which can avoid unnecessary computation of the sum of absolute difference (SAD) and reduce the computation complexity while maintaining the same performance. The Window Follower Algorithm (WFA) [7] can dynamically adjust the size of the search window to avoid unnecessary computations. Since the video content varies dramatically, these algorithms do not always perform well for videos of various activities. The drawbacks and advantages of these algorithms are listed in Table 1.

In this paper, we propose the Content-Aware Fast Motion Estimation (CAFME) Algorithm to speed up the motion estimation considering the video content. The CAFME consists of the Simple Dynamic Search Range Algorithm (SDSR), Successive Elimination Algorithm with Integral Frame (SEAIF), and Early Termination Algorithm (ETA). The SDSR adjusts search range adaptively according to the motion activity of the video. The experiments show that the SDSR performs well for the video of different kinds of motion activity. The SEAIF is designed for saving the computing of block matching in motion estimation of H.264/AVC and the ETA could skip some search points in motion estimation by early termination of the searching process. Although the CAFME consists of the SDSR, SEAIF, and ETA, these three algorithms can be used independently. The experimental result shows that the proposed algorithms could reduce the computing time-of-motion estimation and maintain almost the same coding efficiency compared with Full Search.

The paper is organized as follows: Section 2 introduces the related background knowledge. In Section 3, we present how the Content-Aware Fast Motion Estimation Algorithm is designed and developed. Section 4 reports the significant experimental results. Finally, the conclusions and future works are given in Section 5.

Section snippets

Matching criterion

Matching criterion is exploited as a quality evaluation metric for motion estimation algorithms to find out the best matched block. Mean square difference (MSD), mean absolute difference (MAD), and sum of absolute difference (SAD) are frequently used criteria. Their definitions can be described by the following equations.MSDfc,fr(m,n)=1MNi=0M-1j=0N-1fc(i,j)-fr(i+m,j+n)2MADfc,fr(m,n)=1MNi-0M-1j=0N-1fc(i,j)-fr(i+m,j+n)SADfc,fr(m,n)=i=0M-1j=0N-1fc(i,j)-fr(i+m,j+n)M and N are the width and

Content-Aware Fast Motion Estimation Algorithm

In this paper, in order to reduce the computational complexity of motion estimation in .264/AVC, we analyze the correlations between search range and the motion activity of the video content and the correlations of the motion vectors between neighboring blocks. Based on these observations, these correlations are fully considered in the development of the Content-Aware Fast Motion Estimation Algorithm (CAFME). We first present some observations and analyses of search range in motion estimation

Experimental results and discussions

In this section, we present the experimental results of the proposed approaches. We modify the H.264/AVC reference software JM 9.4 and implement the proposed algorithms on it. In the experiments, we observe the number of search points for each block to measure the performance of the proposed algorithms. We also measure the coding efficiency. In order to measure the coding efficiency, we compare the bitrates of encoded sequences with the same quantization parameter and disabling rate control.

Conclusions and future works

The motion estimation plays an important role in the video coding standard. Also, it is usually the most computational-intensive part in a typical video encoder. Hence, the efficient motion estimation algorithm is essential. We proposed a fast algorithm called Content-Aware Fast Motion Estimation Algorithm (CAFME). CAFME consists of the Simple Dynamic Search Range (SDSR), Successive Elimination Algorithm with Integral Frame (SEAIF), and Early Termination Algorithm (ETA). The SDSR adjusts the

References (16)

  • T. Koga, K. Iinuma, A. Hirano, Y. Iijima, T. Ishiguro, Motion Compensated Interframe Coding for Video Conferencing, in:...
  • S. Zhu et al.

    A new diamond search algorithm for fast block-matching motion estimation

    IEEE Trans. Image Process.

    (2000)
  • W. Li et al.

    Successive elimination algorithm for motion estimation

    IEEE Trans. Image Process.

    (1995)
  • X.Q. Gao et al.

    A multilevel successive elimination algorithm for block matching motion estimation

    IEEE Trans. Image Process.

    (2000)
  • L.-W. Lee et al.

    Dynamic search-window adjustment and interlaced search for block-matching algorithm

    IEEE Trans. Circuits Systems Video Technol.

    (1993)
  • J. Feng et al.

    Adaptive block matching motion estimation algorithm for video coding

    IEE Electron. Lett.

    (1995)
  • J. Minocha, N.-R. Shanbhag, A low power data-adaptive motion estimation algorithm, in: IEEE Third Workshop on...
  • S. Saponara et al.

    Data-adaptive motion estimation algorithm and VLSI architecture design for low-power video systems

    IEE Proc. Comput. Digital Techniques

    (2004)
There are more references available in the full text version of this article.

Cited by (8)

  • A generic, comprehensive and granular decoder complexity model for the H.264/AVC standard

    2014, Journal of Visual Communication and Image Representation
    Citation Excerpt :

    To do so, we should estimate the required amount of power consumption for any desired combination of encoding parameters and modes using a complexity model. Considering the computational complexity of the H.264/AVC encoder, several encoder complexity modeling and management methods for the encoder side are proposed in the literature [2–31]. At the same time, others have worked on the complexity of the decoder and have proposed methods to model and control its complexity [32–41].

  • A low complexity block matching algorithm for fast motion estimation in High Efficiency Video Coding

    2016, 2015 5th National Conference on Computer Vision, Pattern Recognition, Image Processing and Graphics, NCVPRIPG 2015
  • Low discrepancy sequences applied in block matching motion estimation algorithms

    2011, Proceedings - 24th SIBGRAPI Conference on Graphics, Patterns and Images
  • A review of motion estimation algorithms for video compression

    2010, ICCASM 2010 - 2010 International Conference on Computer Application and System Modeling, Proceedings
View all citing articles on Scopus
View full text