Abstract
Our thesis addressed digital video stabilization (DVS), a process that removes unwanted shakes from videos via software. We performed a thorough review, which resulted in two survey papers. We also studied and proposed a new stability measure aligned with human perception and a novel method for evaluating 2D camera motion to assess video quality better. Next, we introduced NAFT, a semi-online DWS with a new neighborhood-aware mechanism. This method stabilizes videos without relying on an explicit definition of stability. To train NAFT effectively, we created SynthStab, a paired synthetic dataset. NAFT achieves stabilization quality comparable to non-DWS methods, with a significantly smaller model (a 14× reduction).
Introduction
Digital video stabilization (DVS) is the software-based technology that transforms shaky handheld footage into smooth, cinematic sequences. Despite its widespread use in smartphones and post-production software, the field faces three significant challenges. First, standard evaluation metrics like PSNR and SSIM often fail to capture human-perceived stability, as a video can be sharp yet jittery. Second, training deep learning models is hindered by data scarcity; obtaining perfectly aligned pairs of shaky and stable real-world footage is nearly impossible. Finally, there is a constant trade-off between efficiency and quality, where lightweight "online" models often lack the smoothness of computationally heavy "offline" methods.
This research addresses these hurdles by introducing a novel semi-online model, a comprehensive synthetic dataset, and a more perceptually aligned evaluation metric.
Methodology: NAFT and Kinematic Evaluation
The proposed architecture, NAFT (Neighborhood-Aware Recurrent All-Pairs Field Transforms), utilizes a semi-online processing approach. By employing a sliding window that considers a neighborhood of frames, NAFT balances the real-time potential of online methods with the high-quality smoothing typically reserved for offline analysis. Central to this is the IUNO mechanism (Iterative Update aware of the Neighborhood Outputs), which allows the model to learn stability characteristics directly from data patterns rather than relying on hardcoded mathematical rules.
In addition to the model, this work introduces a kinematic approach to evaluation. Moving beyond simple image similarity, the authors proposed measuring the velocity, acceleration, and jerk of pixel profiles over time. Their findings indicate that the second derivative of pixel motion—Acceleration (ACP²)—is the strongest predictor of human-perceived stability. This metric provides a more accurate assessment of "jerkiness" that traditional metrics overlook.
Datasets: The SynthStab Benchmark
To overcome the lack of paired training data, the study introduces SynthStab, a massive synthetic dataset generated using Unreal Engine and AirSim. SynthStab contains over 100,000 frames of paired stable and unstable video.
Unlike real-world datasets, SynthStab provides perfect 3D ground truth motion and depth maps, enabling fully supervised training. The model's performance was further validated using the NUS Dataset for natural shaky videos and the LIVE-Qualcomm and MIND-VQ datasets for human-rated stability correlation.
Key Results and Insights
The research demonstrates that high-quality stabilization does not require massive, parameter-heavy models. The NAFT-S variant achieved state-of-the-art results with a 14x reduction in model size compared to previous benchmarks. Specifically, NAFT-S weighs only 2.7 MB (0.7M parameters), a stark contrast to the 116 MB (32.4M parameters) of models like StabNet.
Key insights include:
- Perceptual Alignment: The ACP² metric showed a significantly higher correlation with human stability scores than the industry-standard Inter-frame Transformation Fidelity (ITF).
- Efficiency: By focusing on neighborhood-aware optical flow, NAFT achieves stability levels rivaling offline methods while remaining significantly more efficient.
- Robustness: On the NUS Dataset, NAFT consistently outperformed other Deep Warping Stabilization (DWS) methods, particularly in challenging categories like "Quick Rotation."
Limitations and Future Work
While NAFT represents a significant step forward, certain challenges remain. Extreme camera motion can still introduce spatial warping artifacts or "wobble." Additionally, reflective surfaces pose difficulties for optical-flow-based estimation. Future work will focus on optimizing the current two-pass requirement into a single, faster pass and reducing the memory overhead of the correlation strategy to better support high-resolution 4K video on mobile devices.
Summary updated