Nearest Neighbor Field Motion Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional algorithms for computing nearest neighbor fields between images are computationally expensive and fail to enforce spatial coherency, leading to noisy estimates of optical flow and incorrect motion fields, especially when large motions are involved.

Innovation Solution

A method that determines matching patches between two digital images using a nearest neighbor field algorithm, followed by a motion optimization algorithm to identify predominant motion components based on statistics, which are then used to generate a spatially coherent motion field, accounting for large motions and eliminating noise.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional exhaustive search algorithms are used to compute nearest neighbor fields, then matching accuracy is improved, but computational cost and time consumption increase significantly

Engineering Contradiction:
Improvematching accuracyVSAvoidcomputational efficiency
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent segments the exhaustive search process by organizing patches into hierarchical levels. Instead of comparing every patch against all possible matches, the algorithm divides the search space into coarse-to-fine levels, where each level processes a subset of patches. This segmentation reduces the computational complexity from O(N²) to approximately O(N log N) while preserving matching accuracy through progressive refinement.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies preliminary action by pre-sorting and pre-organizing patches based on their visual characteristics and spatial relationships before the actual matching process. Patches are grouped by similarity metrics and spatial coherence properties in advance, allowing the algorithm to quickly eliminate non-matching candidates without performing exhaustive comparisons. This preliminary organization significantly reduces the search space while maintaining accuracy.

Inventive Principle:
Principle #10Preliminary action

2Stability of the object's composition

If conventional optical flow algorithms are used to compute motion fields, then spatial coherency is enforced, but the algorithms fail to handle large motions and produce noisy estimates

Engineering Contradiction:
Improvespatial coherencyVSAvoidmotion field accuracy
Core Design Contradiction:
Stability of the object's compositionVSMeasurement precision

Solution Approach 1:

The patent applies dynamics by making the matching process adaptive to local motion characteristics. Instead of assuming small displacements as conventional optical flow algorithms do, the system dynamically adjusts the search window size and matching criteria based on the estimated motion magnitude in each region. This allows the algorithm to handle both small and large motions appropriately, maintaining spatial coherency while improving accuracy for large displacements.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes key parameters of the matching algorithm based on local image characteristics and motion estimates. The search window size, patch comparison metrics, and coherence enforcement strength are adjusted dynamically according to the local content and motion magnitude. This parameter adaptation allows the system to maintain spatial coherency in static regions while accurately tracking large motions in dynamic regions, resolving the contradiction between coherency and accuracy.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If reconstruction-based algorithms are used to compute nearest neighbor fields, then computational efficiency is improved, but spatial coherency of matching patches is not enforced

Engineering Contradiction:
Improvecomputational efficiencyVSAvoidspatial coherency
Core Design Contradiction:
ProductivityVSStability of the object's composition

Solution Approach 1:

The patent introduces spatial coherence constraints as an intermediary mechanism that mediates between the efficient reconstruction-based matching and the requirement for spatially coherent results. The algorithm first performs efficient patch matching using reconstruction techniques, then applies a coherence enforcement step that adjusts matches to ensure spatial consistency. This intermediary coherence check corrects mismatches while preserving the computational efficiency of the underlying reconstruction algorithm.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS9165373B2Statistics of nearest neighbor fields
Publication Date: 2015.10.20 ADOBE INC
  • US9165373B2 patent drawing
  • US9165373B2 patent drawing
  • US9165373B2 patent drawing

AI summary

In embodiments of statistics of nearest neighbor fields, matching patches of a nearest neighbor field can be determined at image grid locations of a first digital image and a second digital image. A motion field can then be determined based on motion data of the matching patches. Predominant motion components of the motion field can be determined based on statistics of the motion data to generate a final motion field. The predominant motion components correspond to a motion of objects as represented by a displacement between the first and second digital images. One of the predominant motion components can then be assigned to each of the matching patches to optimize the final motion field of the matching patches.