Video Sequential Alignment Using Hierarchical Keyframe Masking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional video sequential alignment methods, such as those using dynamic time warping algorithms, face challenges with quadratic time and space complexity, limiting their effectiveness for large-scale data processing.

Innovation Solution

The proposed method employs a hierarchical sequential alignment algorithm combined with keyframe matching and the Block A* algorithm to efficiently find a minimal alignment path by generating masks for a reduced search space, reducing complexity to linear time and space.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional dynamic time warping algorithms (e.g., Needleman-Wunsch, Dijkstra) are used for video sequential alignment, then alignment accuracy is maintained, but time complexity and space complexity increase quadratically to O(NM), limiting applicability to large sequences

Engineering Contradiction:
Improvealignment accuracyVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent divides the video sequences into segments using keyframe detection and grouping similar frames into clusters. This segmentation reduces the problem size from O(NM) to O(N'M') where N' and M' are the reduced dimensions after clustering, thereby lowering computational complexity while maintaining alignment accuracy through representative frame selection

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces keyframes as intermediary elements that represent groups of similar frames. Instead of directly aligning all frames, the algorithm first aligns keyframes and then uses these alignments to guide the alignment of intermediate frames, acting as a mediator that reduces the search space and computational burden

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If traditional DTW algorithms are applied to large video sequences, then comprehensive alignment is achieved, but memory consumption increases quadratically, making it infeasible for large-scale data

Engineering Contradiction:
Improvealignment completenessVSAvoidmemory usage
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent extracts and removes redundant information by identifying and grouping similar frames through clustering. By extracting only the essential representative frames (keyframes) and discarding redundant duplicate frames, the algorithm reduces memory requirements from storing all frame comparisons to storing only keyframe comparisons

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent transforms the alignment problem from a two-dimensional matrix computation to a hierarchical multi-dimensional approach by introducing temporal clustering and keyframe layers. This dimensional transformation allows the algorithm to process large sequences by operating on compressed representations rather than the full sequence matrix

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

3Measurement precision

If exhaustive search methods are used to find the optimal alignment path, then alignment precision is maximized, but processing time increases quadratically, reducing productivity

Engineering Contradiction:
Improvealignment precisionVSAvoidprocessing speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent performs preliminary actions by detecting keyframes and pre-grouping similar frames into clusters before the actual alignment process. This preprocessing step establishes the alignment framework in advance, allowing the main alignment algorithm to operate on pre-organized data structures rather than raw sequences, thereby improving processing speed without sacrificing precision

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements a dynamic programming approach with adaptive pruning that adjusts the search strategy based on local sequence characteristics. The algorithm dynamically modifies the search space by using keyframe alignments to constrain and guide the search for intermediate frame alignments, making the processing adaptive rather than exhaustive

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS9225879B2Method and apparatus for video sequential alignment
Publication Date: 2015.12.29 TCL TECHNOLOGY GROUP CORPORATION
  • US9225879B2 patent drawing
  • US9225879B2 patent drawing
  • US9225879B2 patent drawing

AI summary

A method for video sequential alignment is provided. The method includes inputting a first video sequence and a second video sequence, and extracting features of the first video sequence and the second video sequence. The method also includes generating an expanded path using a hierarchical sequential alignment algorithm and generating masks containing search space using keyframe matching. Further, the method includes calculating the lowest path cost within search space to find a minimal alignment path using a block A* algorithm and outputting a final alignment result after applying the block A* algorithm to search space.