Context-Aware Video Reconstruction for Rolling Shutter Cameras

Bin Fan, Yuchao Dai, Zhiyuan Zhang, Qi Liu, Mingyi He

Abstract

Rolling shutter (RS) sensors, common in consumer-grade cameras and drones, introduce significant geometric distortions such as skew and wobble when capturing dynamic scenes. This paper introduces Context-aware Video Reconstruction (CVR), a deep learning architecture designed to transform distorted RS video into smooth, high-fidelity global shutter (GS) sequences. By explicitly reasoning about occlusions and refining motion boundaries, CVR addresses the persistent issues of "black holes" and jagged artifacts that have limited previous correction methods.

Introduction

Most modern CMOS sensors utilize a rolling shutter mechanism, scanning the scene row-by-row rather than capturing the entire frame at once. When the camera or objects within the scene move rapidly, the temporal delay between row exposures results in visual artifacts often described as "jello" effects.

Existing research has attempted to rectify these images by warping RS frames into a GS format. However, two primary hurdles remain:

  1. Disocclusions (Black Holes): When an object moves, it reveals background areas that were not visible in the original frame. Simple warping cannot account for these newly visible pixels, resulting in empty black regions.
  2. Complex Motion Artifacts: Many models assume constant velocity across the frame. Real-world dynamics, such as a car accelerating or turning, violate these assumptions, leading to blur and distortion at motion boundaries.

Methodology

The CVR framework employs a two-stage pipeline to "revive and relive" the latent GS video hidden within consecutive RS frames.

1. Motion Interpretation Module

This module estimates a Bilateral Motion Field (BMF), which calculates pixel trajectories from two input RS frames to a target GS frame at any arbitrary time ($t$). A significant innovation here is the Approximated BMF (ABMF). This simplified geometric model provides a reliable motion initialization without the computational overhead of a complex, pre-trained geometric neural network.

2. Context-aware GS Frame Synthesis Module

To resolve the "black hole" problem, the synthesis module utilizes two specialized layers:

  • Motion Enhancement Layer (MEL): This layer refines initial motion estimates to better capture complex, object-specific movements and sharp edges.
  • Contextual Aggregation Layer (CAL): The CAL uses bilateral occlusion masks to determine which parts of the input frames should be used to populate the target image. By reasoning about what is hidden and what is visible across time, the network effectively "borrows" pixels from the past or future to fill gaps in the current frame.

Experimental Results

The model was rigorously tested on several benchmarks, including Carla-RS (a synthetic dataset with complex 6-DOF camera motions) and Fastec-RS (real-world scenes synthesized from high-speed GS footage).

Quantitative Performance

CVR established a new state-of-the-art on the Carla-RS dataset, achieving a PSNR of 32.02 dB. This significantly outperforms the previous leading method, RSSR, which achieved 30.17 dB.

Qualitative Fidelity

Visually, CVR produces much cleaner results than its predecessors. While previous methods often left "ghosting" artifacts or black streaks behind moving objects, CVR maintains crisp edges and complete backgrounds. Furthermore, because CVR can synthesize frames at any point in time between inputs, it allows for the recovery of smooth, slow-motion GS video.

Discussion and Limitations

Despite its success, CVR faces specific challenges common to flow-based methods:

  • Textureless Regions: Areas lacking distinct visual features (e.g., plain white walls) can lead to warping errors or aliasing.
  • Visibility Constraints: The model assumes that every pixel in the target GS frame is visible in at least one of the two input RS frames. If an object is obscured in both inputs, perfect recovery remains impossible.

Conclusion

CVR represents a major step forward in rolling shutter correction by treating occlusion as a learnable, context-aware problem. By combining a simplified motion approximation with sophisticated contextual aggregation, the framework provides a highly efficient and effective baseline for future research in high-fidelity video reconstruction.

Summary updated

BibTeX
@inproceedings{fan2022context,
  author = {Bin Fan and Yuchao Dai and Zhiyuan Zhang and Qi Liu and Mingyi He},
  title = {{Context-Aware Video Reconstruction for Rolling Shutter Cameras}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure