Solving "minimal problems"—systems of polynomial equations derived from the smallest possible data sets—is a fundamental task in computer vision, essential for estimating camera pose and calibration. Traditional approaches often struggle with a trade-off between the complexity of algebraic geometry and the numerical instability of dense linear algebra. This paper introduces a more efficient and stable method using sparse elimination theory to convert these systems into compact Polynomial Eigenvalue Problems (PEP).
The Challenge of Minimal Problems
In tasks like the 5-point relative pose problem or P3P, researchers typically rely on two methods:
- Gröbner Bases: Highly efficient but difficult to implement without deep expertise in algebraic geometry.
- Resultant-based Methods: These use standard linear algebra to solve PEPs but often assume polynomials are "dense." This leads to unnecessarily large matrices, numerical instability, and numerous spurious solutions.
The proposed method bridges this gap by exploiting the inherent sparsity of computer vision equations, creating solvers that are as accessible as linear algebra but as efficient as Gröbner basis methods.
Methodology: Exploiting Sparsity with Newton Polytopes
The core innovation is an algorithm for selecting a compact monomial basis by analyzing the structure of the equations rather than treating them as dense blocks of data.
- Newton Polytopes: The method represents the exponents of terms present in the equations geometrically. By using Minkowski sums of these polytopes, the algorithm identifies the smallest set of monomials needed for the eigenvalue problem.
- Bernstein’s Theorem: This is used to predict the exact number of solutions, providing a theoretical target for the size of the monomial basis.
- SVD-based Stability: To ensure numerical reliability, the authors use Singular Value Decomposition (SVD) to identify and eliminate "parasitic" zero eigenvalues that often degrade solver performance.
Experimental Validation
The authors demonstrated their approach on a new minimal problem: camera self-calibration from two homographies of an unknown planar scene. The method was tested using:
- Synthetic Data: 1,000 random points viewed by three cameras with simulated noise ((\sigma = 0.5) pixels).
- Real-World Data: A standard checkerboard pattern for ground truth and a "copier transparency film box" to test performance on planar objects in uncontrolled environments.
Key Results and Performance
The Sparse Elimination (SPE) method significantly outperformed the previous state-of-the-art Modified Resultant-based Method (MRE) across several metrics:
- Matrix Size: For the focal length problem, SPE reduced the basis from 45 monomials to just 22.
- Speed: SPE achieved a >5x speedup, solving problems in 3.2ms compared to 17.5ms for MRE.
- Numerical Precision: In noise-free environments, SPE demonstrated several orders of magnitude higher precision than MRE. Smaller matrices naturally lead to fewer rounding errors, enhancing overall stability.
Conclusion
This research demonstrates that sparsity is a powerful feature in computer vision equations. By ignoring non-existent terms, the complexity of solvers can be drastically reduced without requiring expert-level algebraic geometry. While computing mixed volumes for many variables remains a challenge, this sparse elimination approach provides a robust framework for building high-performance, stable solvers for real-world vision tasks.
Summary updated