A Robust Method for Strong Rolling Shutter Effects Correction Using Lines With Automatic Feature Selection

Yizhen Lao, Omar Ait-AiderCVPR 2018

Abstract

This paper presents a robust, single-image method for correcting rolling shutter (RS) distortions, such as skew and wobble, by utilizing the geometry of 3D straight lines. Unlike previous approaches, the proposed method does not require "Manhattan World" assumptions (orthogonal lines) and introduces a novel RANSAC-based selection process to automatically distinguish between distorted straight lines and actual 3D curves.

Introduction

Most consumer cameras utilize a Rolling Shutter, where the image is captured row-by-row rather than simultaneously. If the camera moves during this process, the resulting image suffers from geometric distortions, commonly known as the "jello effect." Correcting this from a single image is a significant challenge. Existing solutions often rely on video sequences, external hardware like gyroscopes, or restrictive assumptions such as the "Manhattan World" constraint, where all lines are assumed to be axis-aligned. The authors propose a "blind" correction method that works on a single image of a general scene without prior knowledge of line directions.

Distorted rolling shutter image with detected curves overlaid in green.

Methodology

The proposed approach, termed the Linear 4-Curves Algorithm (R4C), consists of three primary technical contributions:

1. Parametric Projection Model

The authors derive a mathematical model demonstrating that a 3D straight line projected through a moving RS camera results in a cubic curve. However, for most practical handheld or vehicle-mounted scenarios, they show that a rotate-only model—resulting in a hyperbolic curve—is sufficient and significantly easier to solve computationally.

2. Linear Ego-Motion Estimation

A method was developed to linearly estimate the camera's angular velocity using at least four image curves. By avoiding non-linear iterations, the R4C method is faster and more reliable than previous optimization-based techniques.

3. Automatic Feature Selection

A key innovation is the RANSAC-based selection strategy. In real-world scenes, not all curves are distorted straight lines; some are naturally curved (e.g., architectural arches). The algorithm identifies the set of curves that, when "undistorted" by specific motion parameters, become the straightest, effectively filtering out semantic outliers.

Experimental Results

The researchers evaluated R4C using synthetic grids, public RS video benchmarks, and real-world "wild" images captured with standard consumer hardware.

The final rectified image after applying the R4C correction method.

Key Findings:

  • Accuracy: In synthetic tests, the R4C method maintained a rotation error of under 1 degree, whereas competing methods saw errors spike to 15–45 degrees under high angular velocity.
  • Robustness: The automatic feature selection successfully ignored organic shapes like tree branches and curved facades that typically cause line-based rectifiers to fail.
  • Performance: The implementation (in MATLAB) processes an image in approximately 6 seconds (4.1s for detection and 1.9s for estimation), with significant potential for speedup in compiled languages.

Conclusion

The R4C method provides a robust solution for single-image RS correction by focusing on dominant rotation and leveraging a straightness metric for feature selection. While it requires at least four detectable straight lines, it breaks the Manhattan constraint, allowing for accurate geometry recovery in diverse, non-orthogonal environments. Future work will explore refining the model for high-speed translational motion and optimizing the algorithm for real-time performance.

Summary updated

BibTeX
@inproceedings{lao2018robust,
  author = {Yizhen Lao and Omar Ait-Aider},
  title = {{A Robust Method for Strong Rolling Shutter Effects Correction Using Lines With Automatic Feature Selection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00504},
}
Figure