Rolling Shutter Pose and Ego-Motion Estimation Using Shape-from-Template

Yizhen Lao, Omar Ait-Aider, Adrien BartoliECCV 2018

Introduction

Modern CMOS cameras predominantly utilize a Rolling Shutter (RS) mechanism, capturing image rows sequentially rather than simultaneously. While cost-effective, this architecture introduces significant geometric distortions—often termed the "jello effect"—when the camera or the scene is in motion. Standard computer vision algorithms, such as Perspective-n-Point (PnP), assume a Global Shutter (GS) model and typically fail when confronted with RS artifacts. This paper introduces a novel perspective: treating RS distortions not as a projection geometry complication, but as virtual 3D deformations of a known rigid object. By leveraging Shape-from-Template (SfT) techniques, the authors transform the challenging 2D-3D registration problem into a stable 3D-3D registration task.

The Rolling Shutter Challenge

In an RS camera, every row is captured at a slightly different point in time, and thus from a slightly different camera pose. Existing RS-specific solutions often attempt to augment the projection model with velocity parameters. However, this approach frequently results in highly non-linear optimization problems, multiple ambiguous solutions, or a heavy reliance on external sensors like Inertial Measurement Units (IMUs).

Proposed Method: RS-PEnP

The authors propose RS-PEnP (Rolling Shutter Pose and Ego-motion Estimation), a two-step pipeline that redefines the problem through the lens of deformable surface reconstruction.

The RS-PEnP pipeline: transforming RS distortions into virtual 3D deformations for stable registration.
  1. Virtual Deformation Recovery (SfT): The core innovation lies in the "Equivalence Principle," which proves that an RS image of a rigid object is mathematically equivalent to a GS image of a deforming object. The method employs SfT algorithms—specifically Analytical Isometric (AnIRS) and Analytical Conformal (AnCRS)—to reconstruct this "virtually deformed" 3D shape directly from the distorted 2D image.
  2. 3D-3D Registration: The reconstructed deformed shape is subsequently registered to the original rigid 3D template. By operating in 3D space, the system can utilize a Euclidean distance cost function, which is inherently more stable and physically meaningful than traditional 2D reprojection errors. This step simultaneously recovers the camera’s base pose ($R_0, t_0$) and its ego-motion velocities ($d, \omega$).

Key Insights: The Equivalence Principle

The most significant insight of this work is that RS effects can be perfectly modeled as virtual 3D deformations. This allows the application of mature deformable surface reconstruction techniques to the problem of rigid camera motion estimation.

Visualization of various camera motions and their corresponding RS image distortions and virtual 3D deformations.

A critical finding is that while many physical objects are isometric (non-stretching), the "virtual" deformation induced by a rolling shutter often involves local scaling (e.g., vertical stretching or shrinking). Consequently, the Conformal SfT model, which preserves angles but allows for local scaling, proves to be a superior fit for RS effects compared to the strictly Isometric model. Furthermore, by shifting to 3D-3D registration, the method achieves dimensional homogeneity, where all error terms share the same metric units, enhancing numerical stability.

Results and Discussion

The RS-PEnP method was rigorously evaluated against synthetic data, real-world planar markers, and public RS/GS benchmarks. Key findings include:

  • Enhanced Accuracy: In synthetic trials, the AnCRS method significantly outperformed state-of-the-art solvers (like R6P), particularly in estimating rotation under high-speed motion.
  • Robustness: The SfT-based approach demonstrated superior stability against image noise compared to both standard GS-PnP and existing RS-PnP methods.
  • Solution Uniqueness: Unlike competing methods that may yield up to 20 feasible solutions, RS-PEnP converges to a single, stable solution, eliminating ambiguity.
  • AR Performance: Qualitative tests in Augmented Reality scenarios showed near-perfect reprojections on distorted frames, where traditional methods exhibited visible drift.

Conclusion and Future Work

While RS-PEnP offers a robust solution for pose estimation, its current implementation is not yet optimized for real-time applications. Future work will focus on C++/GPU optimization for integration into SLAM or AR systems. Additionally, while the method currently requires a known 3D template, future research may explore deriving exact differential properties of RS deformations to create specialized SfT models that could eventually function in unknown environments.

Summary updated

BibTeX
@inproceedings{lao2018rolling,
  author = {Yizhen Lao and Omar Ait-Aider and Adrien Bartoli},
  title = {{Rolling Shutter Pose and Ego-Motion Estimation Using Shape-from-Template}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01216-8\_29},
}
Figure