Parameter-Free Lens Distortion Calibration of Central Cameras

Filippo Bergamasco, Luca Cosmo, Andrea Gasparetto, Andrea Albarelli, Andrea Torsello

Introduction

Camera calibration is a fundamental task in computer vision, typically involving a trade-off between simplicity and accuracy. Standard parametric models, such as the pinhole model with radial distortion, are easy to use but often fail to capture complex lens characteristics. Conversely, non-parametric "raxel" models offer extreme flexibility but break the geometric constraints required for many vision tasks. This paper proposes a "best of both worlds" approach: a parameter-free lens distortion model that maintains a single optical center, ensuring compatibility with standard projective geometry while providing the accuracy of unconstrained models.

The Challenge of Lens Distortion

Most computer vision systems rely on the assumption that light rays pass through a single point (the optical center). To correct for lens warping, researchers typically use polynomial models (e.g., Zhang’s or Tsai’s). However, high-end or wide-angle lenses often exhibit subtle, non-radial distortions that these simple formulas cannot represent. While "unconstrained" models treat every pixel as an independent ray, they lose the "centrality" property, making operations like epipolar geometry or straight-line projection mathematically cumbersome. The authors aim to create a model that is as flexible as a non-parametric one but still behaves like a "central" camera.

Methodology

The proposed calibration pipeline consists of three main stages:

  1. Dense Ray Recovery: Instead of traditional checkerboards, the method utilizes a high-resolution LCD screen displaying phase-shift patterns. This allows for sub-pixel, dense 3D-to-2D correspondences for nearly every pixel on the sensor.
  2. Iterative Optimization: A generalized least-squares problem is solved to identify a single common optical center ($o$) and specific directions ($d$) for every ray, enforcing centrality by design.
  3. Virtual Pinhole Synthesis: Once the rays are recovered, the system identifies an optimal virtual image plane. Rather than choosing an arbitrary plane, a geodesic steepest descent optimization finds an orientation that minimizes ray lattice distortion.
The three-step process for synthesizing a virtual pinhole image from a dense ray lattice.

This process results in a dense displacement map that can undistort raw images into perfect pinhole projections. The method also extends to stereo rigs, handling both lens undistortion and stereo rectification in a single step.

Experimental Results

The method was evaluated using two 1MP cameras and a commercial LCD monitor. The authors compared their parameter-free approach against the "Rational" distortion model commonly used in libraries like OpenCV.

Image Undistortion Accuracy

In line-fitting tests, the proposed method demonstrated significantly lower Root Mean Square (RMS) errors. As shown in the performance comparison, the non-parametric model maintains much higher consistency in preserving straight lines across the image field compared to the Rational model.

Comparison of vertical line fitting errors between the standard Rational model and the proposed Non-parametric model.

3D Reconstruction and Stereo Quality

Triangulation tests confirmed that the proposed model is more reliable and repeatable for 3D measurements. Qualitatively, the method improved epipolar alignment in stereo pairs, leading to superior depth map generation and 3D scans.

Conclusion and Future Work

By enforcing centrality as a geometric constraint rather than a functional form, this parameter-free approach allows cameras to adapt to any lens quirk without sacrificing standard projective tools. While the requirement for an LCD screen and higher computational costs (approximately 10 minutes for calibration) are trade-offs, the gains in accuracy for high-precision applications are substantial. Future work may explore applying these techniques to non-central catadioptric systems or reducing the hardware overhead for "in the wild" calibration.

Summary updated

BibTeX
@inproceedings{bergamasco2017parameter,
  author = {Filippo Bergamasco and Luca Cosmo and Andrea Gasparetto and Andrea Albarelli and Andrea Torsello},
  title = {{Parameter-Free Lens Distortion Calibration of Central Cameras}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  doi = {10.1109/iccv.2017.415},
}
Figure