Fast Rolling Shutter Correction in the Wild

Delin Qu, Bangyan Liao, Huiqing Zhang, Omar Ait-Aider, Yizhen Lao

Introduction

Modern consumer cameras predominantly utilize a Rolling Shutter (RS) mechanism, capturing images row-by-row. While cost-effective, this method introduces significant distortions—often called "jello" effects—when either the camera or the subjects are in motion. This paper introduces Direct Rolling Shutter Correction (DRSC), a geometry-based approach that achieves high-quality rectification in real-time on standard CPUs. Unlike previous methods, DRSC does not require camera calibration or explicit depth estimation, making it highly effective for "in the wild" scenarios.

The Rolling Shutter Challenge

Correcting RS distortions in unconstrained environments is difficult due to three primary factors:

  1. Dynamic Scenes: Most algorithms assume a static world, failing when multiple objects move independently.
  2. Calibration Requirements: Many solutions depend on known intrinsic camera parameters, which are often unavailable for consumer-grade or web-sourced footage.
  3. Computational Complexity: State-of-the-art (SOTA) deep learning models typically require powerful GPUs, while traditional geometric solvers are often too slow for real-time applications.

Proposed Method: DRSC

The core of DRSC is a pixel-wise, pose-free solver. The authors demonstrate that correction vectors for any pixel can be calculated by simply rescaling its optical flow. This bypasses the need for explicit camera motion or depth estimation.

The framework offers two variants:

  • V-DRSC (Visual Correction): Utilizes dense optical flow to rectify entire frames, producing stabilized, undistorted video.
  • K-DRSC (Keypoint Correction): A lightweight version that corrects specific feature points, enabling standard Global Shutter (GS) algorithms like SLAM or SfM to process RS video in real-time.

A key advantage of this approach is its inherent support for non-perspective lenses, such as fisheye cameras. Since the correction occurs in the pixel-level image space, radial distortions are handled naturally without prior calibration.

Experimental Results

The authors evaluated DRSC across various synthetic and real-world benchmarks, including a new Urban Crossroads Rolling Shutter (UCR) dataset designed for complex dynamic scenes.

Efficiency and Accuracy

DRSC demonstrates remarkable efficiency, achieving approximately 40 FPS for 480p video on a CPU. This performance places it well within the "Realtime Zone," outperforming commercial software and being orders of magnitude faster than previous geometric solvers like DSfM.

Performance comparison of DRSC against other SOTA methods in terms of PSNR and Runtime. DRSC (V-DRSC) sits prominently in the Realtime Zone.

Qualitative Comparison

In dynamic scenes, DRSC consistently outperforms both traditional and deep-learning-based methods (e.g., CVR), which often struggle with "ghosting" artifacts or local blurring.

Qualitative comparison of DRSC against Adobe Premiere Pro and CVR across general, dynamic, and non-perspective scenarios.

Conclusion and Future Work

DRSC provides a robust, calibration-free solution for rolling shutter correction that is viable for mobile devices and drones. While highly effective, the method currently requires at least two consecutive frames and assumes relatively constant depth between them. Future research may focus on multi-frame trajectory modeling to further enhance stability and handle complex occlusions more explicitly.

Summary updated

BibTeX
@article{qu2023fast,
  author = {Delin Qu and Bangyan Liao and Huiqing Zhang and Omar Ait-Aider and Yizhen Lao},
  title = {{Fast Rolling Shutter Correction in the Wild}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2023},
  doi = {10.1109/tpami.2023.3284847},
}
Figure