Hierarchical Motion Estimation Search To Avoid Local Optima
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing motion estimation methods in video coding face high computational complexity and are prone to local optima, leading to suboptimal results and increased coding time.
Innovation Solution
A motion estimation method that includes searching for a start search point, followed by asymmetrical cross search, rectangular window full search, extended multi-level hexagonal grid search, and extended hexagonal search, with dynamic adjustment of search ranges based on previous frame motion vectors to avoid local optima and reduce complexity.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If full search method is used to ensure optimal motion vector accuracy, then motion estimation precision is improved, but computational complexity increases significantly
Solution Approach 1:
The patent segments the full search process into multiple hierarchical stages: first performing a limited search in a small rectangular window around the initial motion vector, then progressively expanding the search range in subsequent stages only if improvement is detected. This segmentation transforms the single overwhelming full search into manageable sequential steps, reducing immediate computational complexity while preserving the ability to achieve optimal accuracy when needed.
Solution Approach 2:
The patent implements dynamic search range adjustment based on actual search results. The search window size and position are dynamically modified during the process - expanding when improvements are found and contracting when no further improvement is possible. This dynamic adaptation allows the system to balance between computational efficiency and accuracy, avoiding unnecessary searches in regions unlikely to contain better motion vectors.
2Productivity
If fast search method is used to reduce computational complexity, then processing speed is improved, but motion estimation accuracy deteriorates due to local optima
Solution Approach 1:
The patent performs preliminary actions by first conducting a quick limited search in a small rectangular window around the initial motion vector prediction. This preliminary search establishes a baseline cost value and identifies a starting point for subsequent searches. By performing this preliminary action, the system prepares the search state in advance, enabling faster convergence in later stages while avoiding the need to search the entire range from scratch.
Solution Approach 2:
The patent implements feedback mechanisms where each search stage evaluates the cost function at candidate points and uses this feedback to determine the next search configuration. If a better match is found, the search range is expanded around the new best point; if no improvement is found, the search terminates early. This feedback-driven approach ensures that the system adapts its search behavior based on actual results, maintaining accuracy while improving speed compared to exhaustive full search.
3Adaptability or versatility
If large search range is used to cover all possible motion vectors, then motion estimation coverage is improved, but search time increases
Solution Approach 1:
The patent dynamically adjusts the search range based on the progression of the search process. The initial search is confined to a small rectangular window around the predicted motion vector. Only when improvements are detected does the system expand the search range in subsequent stages. This dynamic range adjustment ensures comprehensive coverage when necessary while minimizing search time in cases where the predicted motion vector is already accurate.
Solution Approach 2:
The patent segments the search range into multiple hierarchical levels: a small initial rectangular window, followed by progressively larger search areas in subsequent stages. This segmentation allows the system to focus computational resources on the most promising regions first, achieving effective coverage with minimal search time. The segmented approach ensures that even if the initial prediction is inaccurate, the system can systematically expand coverage without searching the entire range from the beginning.
Data Source
AI summary
The present application provides a motion estimation method and apparatus, an electronic device, and a readable storage medium. The method includes: according to a motion vector of a previous frame of a target position in a target macroblock, determining a first search range for asymmetrical cross search; and according to the motion vector of the previous frame of the target position in the target macroblock and a motion vector of the previous two frames of the target position in the macroblock, determining a second search range for extended multi-level hexagonal grid search.


