Video Anti-Shake Processing Using Motion Track Smoothing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Handheld video shooting often results in video shaking, leading to poor video quality.
Innovation Solution
A method for video anti-shake processing that involves determining a moving track of a shooting position by feature point tracking between image frames, performing smoothing processing to obtain a smooth track, and deforming the video based on the difference between the moving and smooth tracks.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Object-affected harmful factors
If traditional anti-shake processing methods are used, then video shaking is reduced, but abnormal deformations occur in the video content
Solution Approach 1:
The patent segments the video processing into two distinct stages: first determining a motion track from feature point tracking, then separately determining a smooth track through smoothing processing. This segmentation allows independent optimization of shake reduction and deformation control, resolving the contradiction between reducing video shaking and preventing abnormal deformations.
Solution Approach 2:
The patent applies smoothing processing to transform the discrete motion track into a smooth track, changing the parameter continuity of the shooting position data. This parameter transformation enables the system to reduce high-frequency shaking while maintaining the overall motion characteristics, thereby preventing abnormal deformations.
2Measurement precision
If feature point tracking is performed between all image frames, then shooting position accuracy is improved, but processing complexity increases
Solution Approach 1:
The patent performs feature point tracking preliminarily to establish a motion track before applying smoothing processing. This preliminary action captures the essential shooting position information, and subsequent smoothing refines it without requiring complex real-time processing of all frames, thus balancing accuracy and complexity.
Solution Approach 2:
The patent introduces a smooth track as an intermediary between the raw motion track and the final video output. This intermediary smooths out the irregularities in shooting position data, reducing processing complexity while maintaining accuracy in the anti-shake effect.
Data Source
AI summary
An embodiment of the present disclosure relates to a method for video anti-shake processing, an electronic apparatus and a storage medium, and the method includes: determining a moving track of a shooting position of a video by performing feature point tracking between different image frames in the video, wherein the moving track indicates shooting positions of the different image frames in the video; performing smoothing processing on a shooting position of each of the different image frames in the moving track, to obtain a smooth track; deforming the video based on a difference between the smooth track and the moving track, to obtain an anti-shake processed video, wherein at least one of the moving track and the smooth track is dynamically determined for the different image frames in the video.


