Pyramidal Block Matching for Real-Time Optical Flow

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional optical flow estimation algorithms are computationally intensive, limiting resolution and frame rates in real-time applications and often require multipass implementations, making them unsuitable for hardware implementation.

Innovation Solution

A pyramidal block matching method that uses hierarchical motion estimation with a coarse-to-fine search methodology to minimize a cost function over images, applying sum of absolute differences or Hamming distance, and leveraging spatial and temporal predictors for accurate motion estimation in both small and large motion conditions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional optical flow estimation algorithms are used, then measurement precision is improved, but computational complexity increases

Engineering Contradiction:
Improveoptical flow measurement precisionVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent applies block matching by dividing the image into multiple blocks and processing each block independently to estimate optical flow. This segmentation approach reduces computational complexity by avoiding pixel-by-pixel processing while maintaining measurement precision through sufficient block resolution.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a hierarchical pyramid structure with multiple resolution levels, adding a dimensional aspect to the optical flow estimation. By processing images at multiple scales (coarse to fine), the algorithm achieves accurate motion estimation with reduced computational burden compared to single-scale conventional methods.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Measurement precision

If conventional optical flow estimation algorithms are used, then measurement precision is improved, but processing speed deteriorates

Engineering Contradiction:
Improveoptical flow measurement precisionVSAvoidprocessing speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent performs preliminary optical flow estimation at coarse resolution levels before refining at finer levels. This preliminary action at reduced resolution quickly eliminates large portions of the search space, enabling faster convergence to accurate motion estimates and improving overall processing speed.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

By processing image blocks independently at multiple pyramid levels, the algorithm enables parallel computation and reduces sequential processing overhead, thereby improving processing speed while maintaining measurement precision through the multi-scale approach.

Inventive Principle:
Principle #1Segmentation

3Measurement precision

If conventional optical flow estimation algorithms are used, then measurement precision is improved, but device complexity for hardware implementation increases

Engineering Contradiction:
Improveoptical flow measurement precisionVSAvoidhardware implementation complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The block-based segmentation approach enables regular, modular hardware implementation where identical processing units can handle different image blocks. This modularity reduces hardware complexity compared to conventional pixel-wise algorithms while preserving measurement precision through adequate block sampling.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The hierarchical pyramid structure organizes computation in a systematic multi-level framework that can be efficiently mapped to hardware pipelines. Each level processes at a different resolution, enabling straightforward hardware implementation with reduced data throughput requirements compared to full-resolution conventional methods.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

4Measurement precision

If conventional optical flow estimation algorithms are used, then measurement precision is improved, but frame rate deteriorates

Engineering Contradiction:
Improveoptical flow measurement precisionVSAvoidframe rate
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The coarse-to-fine pyramid approach performs preliminary motion estimation at lower resolutions before refining at higher resolutions. This preliminary action captures major motion components early, reducing the computational workload for achieving final precision and enabling higher frame rates in real-time applications.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

Independent block processing at multiple pyramid levels enables efficient parallel computation and reduces total processing time compared to conventional sequential pixel-wise methods, thereby improving frame rate while maintaining measurement precision through the multi-scale block matching approach.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS9681150B2Optical flow determination using pyramidal block matching
Publication Date: 2017.06.13 TEXAS INSTRUMENTS INC
  • US9681150B2 patent drawing
  • US9681150B2 patent drawing
  • US9681150B2 patent drawing

AI summary

An image processing system includes a processor and optical flow determination logic. The optical flow determination logic is to quantify relative motion of a feature present in a first frame of video and a second frame of video with respect to the two frames of video. The optical flow determination logic configures the processor to convert each of the frames of video into a hierarchical image pyramid. The image pyramid comprises a plurality of image levels. Image resolution is reduced at each higher one of the image levels. For each image level and for each pixel in the first frame, the processor is configured to establish an initial estimate of a location of the pixel in the second frame and to apply a plurality of sequential searches, starting from the initial estimate, that establish refined estimates of the location of the pixel in the second frame.