Neural Re-rendering for Full-frame Video Stabilization

Yu-Lun Liu, Wei-Sheng Lai, Ming-Hsuan Yang, Yung-Yu Chuang, Jia-Bin Huang

Abstract

Existing video stabilization methods often generate visible distortion or require aggressive cropping of frame boundaries, resulting in smaller fields of view. In this work, we present a frame synthesis algorithm to achieve full-frame video stabilization. We first estimate dense warp fields from neighboring frames and then synthesize the stabilized frame by fusing the warped contents. Our core technical novelty lies in the learning-based hybrid-space fusion that alleviates artifacts caused by optical flow inaccuracy and fast-moving objects. We validate the effectiveness of our method on the NUS, selfie, and DeepStab video datasets. Extensive experiment results demonstrate the merits of our approach over prior video stabilization methods.

Introduction: The Cropping Dilemma

Standard video stabilization is inherently a game of trade-offs. To "smooth out" a shaky camera path, the edges of original frames often fail to align with the new, stable rectangular viewport. Most commercial tools, such as Adobe Premiere’s Warp Stabilizer, resolve this through aggressive cropping—zooming in on the video to hide the resulting "black bars" at the boundaries. This process leads to a significant loss of resolution and a narrower field of view (FoV).

The proposed method maintains a full field of view, reconstructing sharp architectural details that would typically be cropped or distorted by standard stabilization tools.

While previous "full-frame" attempts have utilized image inpainting or frame interpolation to fill these missing areas, they often suffer from excessive blurriness or "glitchy" ghosting artifacts due to imperfect alignment of complex motion. This paper introduces a novel "hybrid neural fusion" approach that eliminates shaky motion while preserving the original field of view with minimal distortion.

Methodology: Hybrid Neural Fusion

The proposed system, dubbed FuSta, utilizes a three-stage pipeline centered on a novel rendering step:

  1. Motion Smoothing & Flow Estimation: The system calculates a smooth camera path and employs RAFT (a state-of-the-art optical flow engine) to determine dense pixel movement between neighboring frames.
  2. Hybrid Neural Fusion: This core innovation uses a two-pronged approach to blend content:
  3. Feature-level fusion: Extracts and fuses abstract mathematical features from multiple frames. This provides robustness against small alignment errors, though it can result in slight blurriness.
  4. Image-level fusion: Uses the fused features as a guide to help a neural network reconstruct sharp, high-frequency details from the original warped frames.
  5. Confidence-Weighted Output: The network predicts a confidence map for each neighboring frame, ensuring the final stable frame is a weighted combination that prioritizes the sharpest and most reliable data.

Experimental Results

FuSta was evaluated against three major benchmarks: the NUS Dataset (144 videos), the Selfie Dataset (33 clips with severe jitter), and the DeepStab Dataset (61 videos with complex panning).

A comprehensive comparison of input shaky videos versus FuSta results. The spatio-temporal (y-t) slices visualize the significant improvement in motion smoothness and temporal consistency.

Quantitative and qualitative results demonstrate that FuSta significantly outperforms both commercial software and prior research. Notably, while traditional methods typically crop 15-30% of the frame, FuSta achieves a 1.00 cropping ratio (0% crop) across all test sets. In metrics such as PSNR, SSIM, and LPIPS, the hybrid fusion approach consistently surpassed image-only or feature-only baselines, maintaining high stability scores comparable to professional editing suites without the "zoomed-in" aesthetic.

Conclusion and Future Work

By combining feature-space fusion (stable but blurry) with image-space fusion (sharp but artifact-prone), this method achieves the best of both worlds: the stability of deep learning with the high-frequency detail of original footage. While the computational cost of dense optical flow remains a challenge for real-time implementation, and very fast-moving objects can still cause localized ghosting, FuSta represents a significant step forward in achieving high-quality, full-frame video stabilization.

Summary updated

BibTeX
@inproceedings{liu2021neural,
  author = {Yu-Lun Liu and Wei-Sheng Lai and Ming-Hsuan Yang and Yung-Yu Chuang and Jia-Bin Huang},
  title = {{Neural Re-rendering for Full-frame Video Stabilization}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.00230},
}
Figure