Introduction
Estimating the absolute pose of a camera—its position and orientation relative to a known 3D environment—is a fundamental requirement for technologies such as Simultaneous Localization and Mapping (SLAM), autonomous driving, and augmented reality. While the Perspective-3-Point (P3P) algorithm is the industry standard for point-based pose estimation, man-made environments are frequently characterized by straight lines and geometric structures. Utilizing mixed point and line correspondences can significantly improve the robustness and accuracy of pose estimation in these settings.
This paper addresses the two minimal problems for mixed features: the 2-point/1-line (P2P1L) problem and the 1-point/2-line (P1P2L) problem. By leveraging recent insights from Galois theory and applying strategic coordinate transformations, the authors present new solvers that are significantly faster and more numerically stable than previous state-of-the-art methods.
Algebraic Optimization via Special Reference Frames
Historically, practical solvers for P2P1L and P1P2L required finding the roots of 4th-degree and 8th-degree polynomials, respectively. While theoretical work suggested these problems could be decomposed into simpler components, translating this theory into efficient algorithms remained a challenge.
The authors bridge this gap by introducing "special reference frames." By translating and rotating the world and camera coordinate systems such that the points and lines align with specific axes, the projection constraints are drastically simplified. This "magic" of reducing polynomial degrees relies entirely on moving the mathematics into a coordinate system where most terms naturally cancel out to zero.
P2P1L Solver
In the P2P1L case, the alignment allows the system of equations to be reduced to a single quadratic (degree 2) equation. This reduction from a quartic to a quadratic equation represents a major simplification of the problem's algebraic complexity and is the first practical implementation of an algebraically optimal solver for this case.
P1P2L Solver
Similarly, for the P1P2L problem, the reference frame transformation reduces the complexity from an 8th-degree polynomial to a quartic (degree 4) equation.
To ensure robustness, the authors also address potential numerical instabilities. For instance, if lines align poorly with the chosen axes, a stabilization step involving a world-frame rotation is applied to prevent division-by-zero errors. Furthermore, specialized variants of both solvers were developed to handle coplanar cases, where 3D points and lines lie on the same plane, ensuring the system remains stable in degenerate geometric configurations.
Experimental Results
The proposed solvers were evaluated using both synthetic benchmarks and real-world data from the Oxford Multi-view Dataset.
Speed and Stability
On synthetic data, the new solvers demonstrated remarkable efficiency gains over the highly optimized 3Q3 solver:
- P2P1L: Executed in approximately 314 nanoseconds, achieving a 6x speedup.
- P1P2L: Executed in approximately 504 nanoseconds, achieving a 4x speedup.
Despite the increased speed, numerical stability remained high. In noiseless synthetic tests, mean rotation errors were maintained between $10^{-11}$ and $10^{-9}$ radians, matching or exceeding the precision of existing methods.
Real-World Application
When integrated into a standard Locally Optimized RANSAC (LO-RANSAC) pipeline using the Oxford dataset, the solvers provided a significant performance boost. The overall pose estimation process was accelerated by up to 2x without any loss in final pose accuracy. This demonstrates that mixed features are computationally cheaper than previously thought, making them highly attractive for real-time systems operating in urban or indoor environments.
Conclusion
The success of these solvers highlights a critical insight: theoretical algebraic complexity is a direct predictor of practical performance. By reducing the degree of the underlying polynomials, the authors have made mixed-feature pose estimation more computationally efficient for real-time applications. This work suggests that other minimal absolute pose problems in geometric computer vision may similarly benefit from a re-evaluation of their algebraic foundations.
Summary updated