Abstract
This paper investigates the solution space of the essential matrix in the over-determined (least-squares) case, a fundamental problem in two-view geometry. By deriving new Karush–Kuhn–Tucker (KKT) conditions without explicit Lagrange multipliers, the study proves that the problem has at most 220 unique real solutions. Through a comparative analysis of local and global solvers, the research demonstrates that while finding the global optimum is computationally intensive, standard local optimization methods are remarkably effective and efficient in practical, real-world scenarios.
Introduction
In computer vision, the essential matrix ($E$) is a critical component for reconstructing 3D scenes from 2D images. It encapsulates the relative motion—rotation ($R$) and translation ($t$)—between two calibrated cameras. For a matrix to be a valid essential matrix, it must satisfy the Demazure constraints: it must be rank 2, and its two non-zero singular values must be equal.
While the "minimal case" involving exactly five point correspondences is well-studied (yielding at most 10 real solutions), practical applications typically involve hundreds of points. In these over-determined scenarios, researchers use least-squares optimization to minimize algebraic error. This paper addresses the previously unanswered questions regarding the number of solutions in the over-determined case and the reliability of standard local optimization tools.
Theoretical Analysis: The 220-Solution Bound
The core theoretical contribution of this work is the derivation of the Karush–Kuhn–Tucker (KKT) conditions for the constrained optimization of the essential matrix. By formulating these first-order optimality requirements without explicit Lagrange multipliers, the author produced a system of 16 polynomial equations in 9 variables.
Using the algebraic geometry software Macaulay2, the study proves that this system possesses a total of 440 solutions. Once the inherent sign ambiguity ($E$ vs $-E$) is accounted for, this reduces to 220 unique solutions. This discovery marks a significant theoretical milestone, illustrating that the least-squares landscape is far more complex than the 10-solution minimal case.
Methodology and Solvers
To explore this solution space, the paper evaluates three distinct algorithmic approaches:
- Gauss-Newton (KKT-GN): A fast, local iterative solver designed for efficiency.
- Gröbner Basis: An algebraic method intended to find all roots of the polynomial system. However, this was found to be numerically unstable for this problem due to the massive scale of the required elimination template (over 5000x5000).
- Homotopy Continuation (Bertini): A robust numerical method used to find all real solutions. While slow, it serves as the "ground truth" for identifying the global optimum.
Experimental Results
The methods were tested against synthetic data with varying noise levels ($\sigma$) and several real-world datasets, including the Strecha, VGG Multi-view, and KITTI Odometry sequences.
Local vs. Global Optimization
A key practical insight is that local methods (such as Expm-GN) perform almost identically to the global solver (Bertini) when image noise is low ($\sigma \le 2$). While Bertini consistently finds the lowest algebraic error, the difference is negligible in standard conditions. Furthermore, local methods are significantly faster, processing 1000 points in approximately 1 millisecond, whereas the global solver requires over a minute, making it impractical for real-time applications like SLAM.
Real-World Solution Density
Although the theoretical upper bound is 220, experiments on real-world data revealed that the number of actual real-valued solutions typically ranges between 20 and 40. When noise levels are extremely high, local methods and certain SDP-relaxation methods (like QCQP) can become trapped in local minima, which the paper visualizes as a "valley" of solutions surrounding the global optimum.
Conclusion
This research bridges the gap between abstract algebraic theory and practical engineering. By mapping the solution space of the essential matrix, the paper justifies the industry's reliance on efficient local optimizers while providing a rigorous mathematical foundation for the complexity of the least-squares problem. Future work may extend this analysis to uncalibrated scenarios involving unknown focal lengths or lens distortion.
Summary updated