In the field of computer vision, cameras are frequently modeled as perfect pinhole projectors. However, real-world lenses—particularly wide-angle or fish-eye lenses—introduce significant radial and tangential distortions that deviate from this linear model. In their paper "Distortion Varieties," Joe Kileel, Zuzana Kukelova, Tomas Pajdla, and Bernd Sturmfels bridge the gap between pure algebraic geometry and practical camera calibration by introducing a formal framework to describe how lens distortion alters the underlying geometry of multi-view vision.
Modeling Distortion as Structure
The authors define "distortion varieties" ($X_{[u]}$), a new class of algebraic varieties that model cameras with lens distortion. Rather than treating distortion as noise to be corrected, the framework treats it as a geometric construction. The process involves duplicating the coordinates of a known variety $X$ (such as the set of all possible camera positions or essential matrices) and scaling them with monomials involving a distortion parameter $\lambda$.
This replication allows the problem to be linearized in a higher-dimensional projective space $\mathbb{P}^N$. The authors demonstrate that a one-parameter distortion variety can be viewed as a subvariety of a rational normal scroll, providing a clear "container" for the distorted data.
Theoretical Foundations: Polytopes and Tropical Geometry
To solve "minimal problems"—finding the smallest number of image points needed to calculate camera positions—one must know the degree of the variety. The degree represents the maximum number of possible solutions for a given set of data. The paper introduces several elegant mathematical approaches to compute these values:
- Chow Polytopes: One of the most significant results is Theorem 3.2, which shows that the degree of a distorted variety is determined by the maximum value of a linear functional on the original variety's Chow polytope. This transformation turns a difficult geometric problem into a more manageable combinatorial one.
- Hadamard Products: The authors identify that multi-parameter distortion varieties can be viewed as the Hadamard product (entry-wise multiplication) of the original variety with a toric variety.
- Tropical Geometry: For complex scenarios involving multiple distortion parameters (e.g., different cameras with unique distortion profiles), tropical geometry is used to estimate complexity and determine the multiplicities of solutions.
Practical Applications and Results
The theoretical insights provided by this framework have direct practical applications in Structure-from-Motion (SfM) pipelines. By understanding the exact algebraic structure of the distortion, researchers can generate efficient solvers for previously daunting minimal problems.
As detailed in the table above, the paper provides a "cheat sheet" for the degrees of various camera models. For example, the "8-point radial distortion problem" is shown to have a degree of 16.
A key contribution is a new solver for the $f+E+\lambda$ problem, which involves an unknown focal length ($f$), an unknown essential matrix ($E$), and one radial distortion parameter ($\lambda$). Despite the problem having a degree of 23, the authors' solver—generated using an automatic Gröbner basis solver—runs in less than 1 millisecond. This speed is critical for real-time applications, as it allows the solver to be used effectively within a RANSAC loop.
Conclusion
"Distortion Varieties" provides a rigorous mathematical foundation for distorted camera models. While the current theory focuses on distortions that can be modeled as polynomials or rational functions (such as the "division model"), it offers a powerful set of tools for the computer vision community. Future research may extend these methods to non-algebraic distortion models and explore the "real" geometry of these varieties to determine how many solutions are physically plausible in real-world scenes.
Reference: Kileel, J., Kukelova, Z., Pajdla, T., & Sturmfels, B. (2016). Distortion Varieties. arXiv:1610.01860v1 [math.AG].
Summary updated