Abstract
An exact method of correcting the rolling shutter (RS) effect requires recovering the underlying geometry, i.e. the scene structures and the camera motions between scanlines or between views. However, the multiple-view geometry for RS cameras is much more complicated than its global shutter (GS) counterpart, with various degeneracies. In this paper, we first make a theoretical contribution by showing that RS two-view geometry is degenerate in the case of pure translational camera motion. In view of the complex RS geometry, we then propose a Convolutional Neural Network (CNN)-based method which learns the underlying geometry (camera motion and scene structure) from just a single RS image and perform RS image correction. We call our method structure-and-motion-aware RS correction because it reasons about the concealed motions between the scanlines as well as the scene structure. Our method learns from a large-scale dataset synthesized in a geometrically meaningful way where the RS effect is generated in a manner consistent with the camera motion and scene structure. In extensive experiments, our method achieves superior performance compared to other state-of-the-art methods for single image RS correction and subsequent Structure from Motion (SfM) applications.
Introduction
Rolling shutter (RS) distortion is a pervasive issue in modern CMOS sensors, commonly found in smartphones and webcams. Unlike global shutter (GS) cameras that capture an entire frame simultaneously, RS cameras record images row-by-row. When the camera or scene moves during this sequential exposure, the resulting images suffer from geometric distortions such as shearing, wobbling, or curving of straight lines. Correcting these artifacts is challenging because the camera's pose effectively changes for every scanline.
Theoretical Degeneracy in RS Geometry
A significant contribution of this work is the formal proof that RS two-view geometry is mathematically degenerate under pure translational camera motion. This means that if a camera is simply sliding sideways, there are infinite combinations of scene depth and camera motion that can produce the same RS distortion. This ambiguity makes traditional geometric multi-view solvers unreliable in common real-world scenarios, necessitating a learning-based approach that can leverage single-image priors.
SMARSC: Structure-And-Motion-Aware Correction
To overcome these geometric hurdles, the authors propose SMARSC (Structure-And-Motion-Aware Rolling Shutter Correction). This framework treats RS distortion not as noise, but as a signal that encodes both the 3D structure of the scene and the camera's motion.
Network Architecture
The SMARSC network is a dual-branch CNN designed to explicitly model the underlying geometry. It takes a single distorted RS image as input and processes it through two specialized components:
- Depth-Net: This branch predicts an inverse depth map of the scene, capturing the 3D structure.
- Velocity-Net: This branch estimates the 6-DOF camera motion (translational and rotational velocities) during the frame's exposure.
By combining these predictions, the system can perform a geometric back-projection to rectify every pixel, effectively "un-warping" the image into a virtual global-shutter frame.
Training and Evaluation
Training such a network requires ground-truth data that is difficult to capture in the real world. The authors addressed this by developing a synthetic pipeline using the KITTI raw dataset. By utilizing ground-truth depth and GS images, they rendered realistic RS distortions consistent with various 6-DOF motions.
A key finding during training was the impact of image preprocessing. The authors discovered that standard resizing introduces vertical artifacts that the network misinterprets as camera pitch. Consequently, they found that cropping images instead of resizing them is essential for maintaining geometric accuracy.
Results and Impact
SMARSC demonstrates superior performance over existing 2D-warping-based CNNs and traditional geometric methods. By being "structure-aware," it correctly handles complex scenes where foreground and background objects exhibit different distortion patterns.
Furthermore, the method significantly improves downstream tasks like Structure from Motion (SfM). Standard SfM often fails on raw RS footage, frequently collapsing 3D reconstructions into a single plane. Pre-processing with SMARSC restores the geometric integrity of the frames, enabling accurate 3D reconstruction from consumer-grade RS video.
Conclusion
The SMARSC framework provides a robust, learning-based solution to the rolling shutter problem by explicitly reasoning about scene structure and camera motion. By identifying and bypassing geometric degeneracies, it sets a new state-of-the-art for single-image RS correction and enhances the reliability of 3D vision applications using common CMOS sensors.
Summary updated