Introduction
Most modern consumer cameras, including smartphones and DSLRs, utilize CMOS sensors with a rolling shutter (RS) mechanism. This process exposes rows of pixels sequentially, which can lead to geometric distortions known as the "jello effect" when the camera or subject moves during capture. Traditional deep-learning solutions for Rolling Shutter Correction (RSC) typically estimate optical flow between RS frames and scale it to "undistort" the image. However, this two-stage approach often struggles with non-linear motion and produces warping artifacts, such as "black holes," due to the limitations of forward warping.
Proposed Methodology: Distortion Flow Estimation
This paper introduces a paradigm shift by directly estimating the distortion flow—the mapping from a latent global shutter (GS) image to the distorted RS frames. This approach enables the use of backward warping, ensuring every pixel in the output GS image is sampled from the RS frame, thereby inherently eliminating topological artifacts like cracks and holes.
Key Technical Innovations
- Global Correlation-based Flow Attention: Unlike traditional local correlation methods that fail under fast motion, this mechanism builds a global correlation matrix between RS features and predicted GS features. This allows the model to handle large-scale and complex motions by finding correspondences across the entire image.
- Progressive Refinement: The framework employs a coarse-to-fine decoder. Initial low-resolution flows are iteratively refined through "Refine Blocks" that fuse warped RS appearance information to improve accuracy.
- Multi-Distortion Flow Decoding: To better handle occlusions where objects may overlap, the final stage predicts multiple groups of distortion fields, which are then combined to synthesize the final high-quality GS image.
Experimental Evaluation
The model was benchmarked on three major datasets: Fastec-RS (synthetic horizontal motion), Carla-RS (virtual 3D environment), and BS-RSC (real-world complex motion captured with a beam-splitter system).
Performance and Efficiency
The proposed method achieves state-of-the-art accuracy while maintaining exceptional efficiency. On the challenging real-world BS-RSC dataset, the 3-frame version (Ours 3F) reached a PSNR of 34.48 dB, significantly outperforming previous leading models like QRSC.
As illustrated in the performance analysis, the efficiency gains are substantial. While the state-of-the-art QRSC (5F) requires 1149ms per frame, the proposed 3-frame model processes a frame in just 34ms—representing a 30x speedup. Furthermore, the model is highly parameter-efficient, requiring only 3.15 million parameters, making it a viable solution for real-time applications on mobile devices.
Conclusion and Future Work
By shifting the focus to distortion flow and leveraging global attention, this framework provides a robust and efficient solution for real-world rolling shutter correction. While the current model handles complex motion effectively, future research aims to integrate physical camera parameters, such as exposure and readout times, to further generalize the solution across diverse hardware platforms.
Summary updated