Abstract
Aligning multi-camera systems, or generalized cameras, typically involves calculating a similarity transformation—comprising rotation, translation, and scale. Traditional methods often rely on 3D reconstructions, which suffer from depth uncertainty in distant scenes. This paper introduces a novel approach that computes these transformations using only 2D image correspondences. By leveraging a known vertical direction, the complex 7-degree-of-freedom problem is reduced to a 1-parameter Quadratic Eigenvalue Problem (QEP). The resulting solver is significantly faster and more robust to varying scene depths than existing 3D-based techniques.
Introduction
In the field of computer vision, "generalized cameras" refer to rigs where multiple cameras are treated as a single coordinate system, such as the 360-degree sensor arrays on autonomous vehicles. A critical task for these systems is loop closure: identifying when the system has returned to a previously mapped location and aligning the current data with the prior map. This requires estimating a similarity transformation with 7 degrees of freedom (rotation, translation, and scale).
Historically, solutions have relied on 3D-to-3D or 2D-to-3D correspondences. However, 3D point estimates are inherently noisy, with uncertainty increasing quadratically relative to distance. In deep scenes, such as city streets, distant landmarks provide unreliable 3D data, leading to significant alignment errors. This research proposes a method to bypass 3D depth uncertainty by using 2D image rays directly.
Methodology
The proposed method employs a "divide and conquer" strategy to simplify the geometric problem:
- Vertical Alignment: The algorithm assumes the "up" direction is known, a common scenario given the prevalence of Inertial Measurement Units (IMUs) in modern hardware or the ability to detect vertical vanishing points. Fixing the vertical axis eliminates two degrees of freedom from the rotation.
- Quadratic Eigenvalue Problem (QEP): With the vertical axis fixed, the remaining mathematical formulation is reduced to a 1-parameter QEP. While the full 7-DOF problem can yield up to 140 solutions, this simplified version requires only five image correspondences and produces at most eight real candidate solutions. This reduction allows for the use of highly optimized linear algebra routines.
Experimental Evaluation
The algorithm was evaluated using both synthetic and real-world datasets:
- Synthetic Data: Thousands of trials were conducted to assess numerical stability against image noise, IMU inaccuracies, and varying scene depths.
- Real-World SLAM Dataset: The method was tested on 12 "office" sequences from the Ventura et al. dataset. Ground truth poses were provided by an ART-2 optical tracker, enabling precise centimeter-level error analysis.
Results
The 2D-based approach demonstrated superior performance in several key areas:
- Efficiency: The core solver, based on a $10 \times 10$ matrix eigenvalue calculation, achieved a mean execution time of 44μs. This is approximately 14 times faster than the state-of-the-art gDLS algorithm (606μs), making it highly suitable for high-frequency RANSAC loops.
- Robustness to Scene Depth: Unlike 3D-based methods, where error scales with scene depth, the proposed 2D-2D method maintained a stable error rate even as scene depth increased from 5 to 1000 units.
- Numerical Stability: Synthetic tests confirmed the method's high numerical precision, with translation errors often reaching near-machine-precision levels.
Conclusion
By utilizing 2D image correspondences and a known vertical direction, this method provides a fast, robust, and numerically stable solution for aligning generalized cameras. While it depends on accurate vertical information, its performance in deep scenes and its computational efficiency offer significant advantages for large-scale SLAM and Structure-from-Motion (SfM) pipelines. Future work may involve integrating this solver into hierarchical SfM systems to mitigate long-range drift in massive reconstructions.
Summary updated