A minimal solution to the autocalibration of radial distortion

Zuzana Kukelova, Tomás PajdlaCVPR 2007

Abstract Epipolar geometry and relative camera pose computation are examples of tasks which can be formulated as minimal problems and solved from a minimal number of image points. Finding the solution leads to solving systems of algebraic equations. Often, these systems are not trivial and therefore special algorithms have to be designed to achieve numerical robustness and computational efficiency. In this paper we provide a solution to the problem of estimating radial distortion and epipolar geometry from eight correspondences in two images. Unlike previous algorithms, which were able to solve the problem from nine correspondences only, we enforce the determinant of the fundamental matrix be zero. This leads to a system of eight quadratic and one cubic equation in nine variables. We simplify this system by eliminating six of these variables. Then, we solve the system by finding eigenvectors of an action matrix of a suitably chosen polynomial. We show how to construct the action matrix without computing complete Grobner basis, which provides an efficient and robust solver. The quality of the solver is demonstrated on synthetic and real data.

Introduction

In computer vision, wide-angle and fisheye lenses are frequently employed to capture large fields of view. However, these lenses introduce significant radial distortion, causing straight lines in the physical world to appear curved in the image plane. Standard algorithms for estimating epipolar geometry—the geometric relationship between two camera views—typically assume a linear "pinhole" camera model. Neglecting radial distortion leads to warped 3D reconstructions and inaccurate pose estimation.

To address this, researchers develop "minimal solvers": algorithms that compute camera parameters using the absolute minimum number of point correspondences. While previous state-of-the-art solvers required at least nine point matches to simultaneously estimate the fundamental matrix and radial distortion, this paper introduces a novel 8-point algorithm. By incorporating the mathematical constraint that a valid fundamental matrix must be singular ($det(F)=0$), the authors reduce the data requirement, thereby enhancing the efficiency and robustness of automated calibration frameworks like RANSAC.

Methodology

The proposed solver utilizes the one-parameter division model for radial distortion. This model is preferred over standard Taylor expansions because it effectively handles severe distortion with simpler algebraic forms.

The technical challenge lies in solving the resulting system of polynomial equations. The authors' approach involves:

  1. Formulation: Constructing eight equations from point correspondences and one cubic equation from the singularity constraint ($det(F)=0$), resulting in a system with nine variables.
  2. Variable Elimination: A symbolic reduction step eliminates six variables, leaving a more manageable system of three equations in three unknowns.
  3. Action Matrix Solver: Rather than relying on computationally expensive Gröbner basis methods, the authors construct an "action matrix." The solutions to the polynomial system are recovered from the eigenvectors of this matrix.
  4. Numerical Efficiency: The action matrix is built using Gauss-Jordan elimination on a specially constructed matrix of polynomial multiples, ensuring the solver is fast enough for real-time applications.

Evaluation and Results

The algorithm was validated using both synthetic and real-world datasets. Synthetic experiments involved 3D scenes with 500 random points projected into virtual cameras with varying noise levels (0–5 pixels) and outliers (up to 60%). Real-world testing was performed on high-distortion image pairs captured with 180° fisheye lenses.

Fisheye image pair used for testing real-world radial distortion estimation.

Key Performance Metrics

  • Accuracy and Stability: The 8-point solver demonstrates superior numerical stability compared to existing 9-point methods (e.g., Fitzgibbon or Li & Hartley). By enforcing the singularity constraint, the solver significantly reduces the variance in distortion parameter ($\lambda$) estimates.
  • Computational Speed: Implemented in MATLAB, the solver runs in approximately 0.01 seconds on a 2.8GHz CPU. This is nearly two orders of magnitude faster than previous symbolic-math approaches (~0.86s) and remains competitive with simpler, less constrained 9-point solvers.

Key Insights: RANSAC and Kernel Voting

The reduction from nine to eight points has a profound impact on robust estimation. In a RANSAC loop with 60% outliers, the 8-point solver requires approximately 2.5 times fewer iterations than a 9-point solver to find a correct consensus set.

Because the algebraic solver can return up to 16 potential solutions (roots), the authors employ a Gaussian kernel voting scheme. By aggregating $\lambda$ estimates across multiple RANSAC samples, the most consistent distortion parameter is identified as the primary peak in the distribution.

Kernel voting distributions for the distortion parameter λ, showing clear peaks at the correct values.

Limitations and Future Work

While highly effective, the solver is optimized for the one-parameter division model and may not fully account for the asymmetries in specialized high-end optics. Additionally, while the MATLAB implementation is fast, a C++ version would likely offer even greater performance for embedded systems. Future research could explore the solver's behavior in degenerate configurations, such as pure camera rotation or strictly planar scenes.

Summary updated

BibTeX
@inproceedings{kukelova2007minimal,
  author = {Zuzana Kukelova and Tomás Pajdla},
  title = {{A minimal solution to the autocalibration of radial distortion}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2007},
  url = {https://openreview.net/forum?id=Sy47h1zOZS},
}
Figure