Rolling Shutter Inversion: Bring Rolling Shutter Images to High Framerate Global Shutter Video

Bin Fan, Yuchao Dai, Hongdong Li

TL;DR

Researchers have developed a deep-learning framework called Rolling Shutter temporal Super-Resolution (RSSR) that "inverts" the rolling shutter mechanism. By taking just two consecutive distorted images from a standard CMOS camera, the system can reconstruct a high-framerate, distortion-free global-shutter video.

What Problem Does This Paper Address?

Most modern consumer cameras (like the one in your smartphone) use a Rolling Shutter (RS). Unlike a Global Shutter (GS) that captures the entire scene at once, an RS camera captures the image row-by-row. If the camera or the subject moves quickly during this process, you get "RS artifacts"—the classic "jello effect," where straight lines look skewed, tilted, or wobbly.

While many researchers have tried to "fix" these distorted images, most methods only produce a single corrected frame. This paper tackles a much harder challenge: Rolling Shutter Inversion. The goal is to extract the rich temporal information hidden within those scanlines to recover the continuous motion that happened during the exposure, effectively turning two messy photos into a smooth, high-speed video.

Methods

The authors propose a geometry-aware deep learning pipeline that moves away from "black-box" processing and instead leans on the physics of how cameras work.

  1. Optical Flow Scaling: The core mathematical insight is that the "undistortion flow" (the path a pixel needs to take to get back to its "correct" spot) is essentially a scaled version of standard optical flow. They prove that by learning a specific scaling factor for each pixel, they can bridge the gap between standard motion estimation and RS correction.
  2. RSSR-Net: The system uses a two-part architecture. First, it estimates bidirectional optical flow (using the standard PWC-Net). Second, a specialized UNet learns a "correlation map"—the scaling factors needed to adjust that flow for every scanline.
  3. Softmax Splatting: To move pixels to their new, corrected positions without creating holes or artifacts, they use a technique called softmax splatting, which handles pixel overlaps gracefully.
  4. Acceleration-Net: Real-world motion isn't always at a constant speed. The authors introduced an "Acceleration-Net" to account for non-linear motion, ensuring the resulting video remains temporally coherent and smooth even during jerky movements.

Datasets

The model was trained and evaluated on several key benchmarks:

  • Carla-RS: A synthetic dataset generated from the CARLA driving simulator, providing perfect ground truth for complex 3D environments.
  • Fastec-RS: A real-world dataset where RS images were synthesized from genuine high-speed global-shutter footage, offering a bridge to real-world performance.
  • Real-world Handheld Data: The authors tested their generalization on older, classic datasets of shaky, handheld RS footage to prove the system works outside of a lab.

Key Insights and Ideas

  • The "Hidden" Video: The most profound idea here is that a single RS image isn't just a static, broken picture; it’s actually a "temporal slice" of the world. Because each row is captured at a slightly different time, the motion is "encoded" into the distortion.
  • Geometry over Brute Force: By proving that RS correction can be reduced to a 1D scaling problem of 2D optical flow, the researchers made the learning task significantly easier for the neural network. This leads to better results with less data.
  • Arbitrary Framerates: Because the model learns the underlying geometry of the motion, it isn't limited to just "fixing" the two input frames. It can generate a GS frame for any point in time between the two inputs, allowing for massive frame-rate up-conversion (e.g., turning 30fps input into 14,400fps output).

Key Results

  • Superior Accuracy: On the Carla-RS dataset, the method achieved a PSNR (image quality score) of 30.17 dB, significantly outperforming the previous state-of-the-art, DeepUnrollNet (26.90 dB).
  • Speed: The system is remarkably efficient. It can predict two middle-scanline GS images in about 0.12 seconds on a modern GPU.
  • Extreme Upsampling: The authors demonstrated the ability to produce 960 global-shutter video frames from just two RS images in under two seconds.
  • 3D Benefits: By removing RS distortion, the researchers showed they could significantly improve the accuracy of 3D reconstructions (Structure-from-Motion) compared to using raw RS images.

Limitations and Future Work

Despite the impressive results, the authors acknowledge a few hurdles:

  • Occlusions: When the camera moves, some parts of the scene are hidden or revealed. Currently, the model leaves "black holes" in these regions because it lacks a generative "hallucination" component to fill in missing data.
  • Independent Moving Objects: The geometric proofs largely assume the scene is static and the camera is moving. If multiple objects are moving in different directions independently, the current scaling logic may struggle.
  • Readout Calibration: The method requires knowing the "readout time" of the camera sensor. While this can be calibrated, a more robust version that estimates this automatically would be a significant next step.

Summary updated

BibTeX
@article{fan2023rolling,
  author = {Bin Fan and Yuchao Dai and Hongdong Li},
  title = {{Rolling Shutter Inversion: Bring Rolling Shutter Images to High Framerate Global Shutter Video}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2023},
  doi = {10.1109/tpami.2022.3212912},
}
Figure