Minimal Cases for Computing the Generalized Relative Pose using Affine Correspondences

Banglei Guan, Ji Zhao, Dániel Baráth, Friedrich Fraundorfer · DOI

Abstract

We propose three novel solvers for estimating the relative pose of a multi-camera system from affine correspondences (ACs). A new constraint is derived interpreting the relationship of ACs and the generalized camera model. Using the constraint, we demonstrate efficient solvers for two types of motions assumed. Considering that the cameras undergo planar motion, we propose a minimal solution using a single AC and a solver with two ACs to overcome the degenerate case. Also, we propose a minimal solution using two ACs with known vertical direction, e.g., from an IMU. Since the proposed methods require significantly fewer correspondences than state-of-the-art algorithms, they can be efficiently used within RANSAC for outlier removal and initial motion estimation. The solvers are tested both on synthetic data and on real-world scenes from the KITTI odometry benchmark. It is shown that the accuracy of the estimated poses is superior to the state-of-the-art techniques.

Introduction

Estimating the relative pose of a camera system—determining how it moved between two points in time—is a fundamental task in computer vision, particularly for autonomous vehicles and robotics. While well-understood for single "pinhole" cameras, modern systems often utilize multi-camera rigs (generalized cameras) where multiple sensors are rigidly fixed but do not share a common center of projection.

Multi-camera system and affine correspondences across frames.

Traditional methods rely on Point Correspondences (PCs), matching individual pixels between frames. However, solving for the motion of a generalized camera system typically requires at least 6 PCs for a minimal solution, or 17 for a stable linear one. This high number of required points creates a bottleneck in RANSAC, the standard algorithm for filtering out outlier matches. As the number of points needed increases, the number of RANSAC iterations required to find a correct solution grows exponentially. This research addresses this bottleneck by leveraging Affine Correspondences (ACs), which provide significantly more information per match.

Methodology

An AC captures not just the displacement of a point, but also a $2 \times 2$ matrix describing the local warping, scaling, and rotation of the image patch around that point. This higher information density allows for a dramatic reduction in the number of matches required.

Technical Contributions

The authors derived a new mathematical constraint linking local affine transformations to the Generalized Camera Model (GCM). Using this, they developed three novel solvers tailored to common motion scenarios:

  1. 1AC Plane Solver: For 3-DOF planar motion (e.g., a car on a flat road), a single AC provides sufficient constraints to solve for relative pose.
  2. 2AC Plane Solver: A robust version using two ACs to handle "degenerate" configurations, such as when all cameras are mounted at the same height.
  3. 2AC Vertical Solver: For 4-DOF motion where the vertical direction is known (e.g., via an IMU), two ACs are sufficient.
Motion models: (a) Planar motion and (b) motion with a known vertical direction.

By representing light rays as Plücker lines, these geometric relationships are transformed into polynomial equations solvable in microseconds.

Evaluation and Results

The solvers were rigorously tested on synthetic data to evaluate noise resilience and on real-world datasets like the KITTI Odometry Benchmark and nuScenes.

Key Findings

  • Efficiency: The solvers are extremely fast, with execution times ranging from 3.6 to 17.8 microseconds.
  • RANSAC Performance: The reduction in required points is transformative. For a dataset with 50% outliers, a 17-point method might require over 600,000 RANSAC iterations. The proposed 1-AC solver achieves the same confidence in just seven iterations.
  • Accuracy: On the KITTI dataset, the 2AC Vertical solver consistently outperformed state-of-the-art 17-point linear and 6-point minimal solvers in both rotation and translation accuracy.
  • Robustness: Tests on nuScenes demonstrated that affine constraints remain stable across multiple cameras with diverse viewpoints, leading to lower error rates compared to point-based methods.

Discussion

The primary advantage of this approach is the "information density" of ACs; one AC provides three independent constraints, whereas a PC provides only one. This allows for the creation of truly minimal solvers that drastically speed up outlier removal.

However, some trade-offs exist. Extracting affine features is more computationally demanding than finding simple points. Nevertheless, the massive reduction in RANSAC iterations typically results in a net gain in speed. Furthermore, like most pure-vision solvers, these methods do not recover absolute metric scale without additional data like a known camera baseline. Future work involves integrating these solvers into full SLAM pipelines to enhance long-term trajectory estimation.

Summary updated

BibTeX
@inproceedings{guan2021minimal,
  author = {Banglei Guan and Ji Zhao and Dániel Baráth and Friedrich Fraundorfer},
  title = {{Minimal Cases for Computing the Generalized Relative Pose using Affine Correspondences}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.00601},
}
Figure