Abstract
Modern CMOS sensors utilize a rolling shutter mechanism that records images row-by-row, leading to complex artifacts when camera motion occurs during exposure. These artifacts include both spatially-varying motion blur and geometric "wobble" distortions. We present a unified framework that addresses both issues by modeling the camera's continuous 3D pose trajectory as a low-degree polynomial function of time. By deriving scanline-specific blur kernels from this global trajectory, our method effectively restores sharp, undistorted images. Quantitative and qualitative evaluations on synthetic and real-world data demonstrate significant improvements over state-of-the-art global shutter deblurring techniques.
Introduction
Most modern smartphone cameras use rolling shutter (RS) CMOS sensors. Unlike global shutters that expose the entire frame simultaneously, RS sensors record images row-by-row. When a camera moves during an RS exposure, two distinct artifacts emerge: motion blur within individual rows and geometric "jello" distortion across the frame due to temporal offsets between scanlines.
Existing deblurring algorithms usually assume a global shutter, meaning they expect the blur to be mostly uniform across the image. Conversely, rolling shutter correction methods usually assume the input is sharp. This paper introduces a framework to solve both problems simultaneously by treating the entire frame as a continuous temporal sequence.
Methodology
The core innovation is the global modeling of camera motion trajectory. Instead of trying to estimate thousands of independent blur kernels, the authors model the camera's pose $p(t)$ as a continuous 1D path in 3D pose space over the duration of the entire frame's exposure.
Global Trajectory Modeling
We represent camera motion (specifically yaw and pitch) using low-degree polynomials. This approach leverages the observation that human hand tremors are relatively low-frequency, allowing 3rd or 4th-degree polynomials to accurately capture motion during a single frame. This formulation reduces the problem from thousands of independent unknowns to a small set of trajectory coefficients $ heta$. Every row has a different blur kernel, but all those kernels are just different "windows" into the same global camera motion.
Optimization Framework
The restoration process uses an alternating optimization strategy:
- Latent Image Update: Fixing the motion and using ADMM (Alternating Direction Method of Multipliers) to recover the sharp image.
- Trajectory Update: Fixing the image and using a Gauss-Newton approach to refine the polynomial coefficients of the camera motion.
Initialization is achieved by dividing the image into horizontal blocks, estimating local kernels, and "back-projecting" them into pose space to fit an initial curve.
Experimental Results
The method was evaluated using synthetic data from the Kohler et al. dataset and real-world images captured with a Canon 70D DSLR in video mode.
Quantitatively, the proposed method achieved a PSNR of ~30-31 dB on synthetic tests, significantly higher than the 23-26 dB range of existing global shutter methods. Qualitatively, as shown in the comparison above, our approach successfully removes ringing artifacts and corrects geometric warping where other methods fail. It effectively "un-warps" the jello-like distortions that deblurring-only methods ignore.
Conclusion and Limitations
By unifying motion deblurring and rolling shutter correction through a global trajectory model, we provide a robust solution for handheld photography. However, the method relies on a decent initial guess from local blur kernels; if these are too noisy, the global trajectory might not converge. Additionally, the current model assumes a planar scene, which may struggle with close-up macro shots where depth variations cause parallax. Future work may incorporate in-plane rotation (roll) for wide-angle lenses and explore gyroscope-assisted initialization for high-frequency vibrations.
Summary updated