Motion estimation is the process of determining motion vectors that describe how regions of one video frame map to corresponding regions in another, capturing the apparent movement of objects and the camera between frames. It is the computational heart of inter-frame video compression, where predicting a block from a previously coded frame removes temporal redundancy. The same techniques underpin optical-flow analysis and frame interpolation in computer vision.

Overview

  • Successive frames of natural video are highly similar; most change between them is the displacement of objects and the camera. Motion estimation quantifies that displacement so a codec can transmit only the small residual difference rather than a whole new frame.
  • The classic approach is block matching: the encoder searches a reference frame for the region that best matches each block of the current frame, recording the offset as a motion vector. The decoder uses the same vectors to reconstruct the predicted frame, to which the residual is added.
  • Search strategy trades quality against computation, ranging from exhaustive full search to fast heuristics such as diamond and hexagon search. Subpixel refinement and overlapped block compensation further improve prediction accuracy.

Mechanisms

  • Block matching minimises a cost such as sum of absolute differences between a candidate block and its reference.
  • Motion vectors encode horizontal and vertical displacement, often to subpixel precision via interpolation.
  • Hierarchical and predictive search reduce the candidate space using results from coarser scales or neighbouring blocks.
  • Motion compensation reconstructs predicted frames so that only the residual must be coded.
  • Bidirectional prediction references both past and future frames to handle occlusion and reveal.

Applications

  • Inter-frame coding in HEVC, H.264, AV1, and other Video Codec standards.
  • Streaming and broadcast pipelines that must minimise Bitrate at a target quality.
  • Frame-rate conversion and video stabilisation that interpolate intermediate frames.
  • Computer-vision tasks such as tracking and Optical Flow estimation, increasingly via Machine Learning.

Provenance