Non-Metric Calibration of Wide-Angle Lenses and Polycameras

Rahul Swaminathan, Shree K. NayarCVPR 1999

Introduction

Wide-angle lenses are essential for applications such as surveillance and robotics because they capture a vast field of view with a single sensor. However, these lenses suffer from severe "barrel distortion," where straight lines in the real world appear as curves in the image. Traditional "metric" calibration methods require imaging objects with known geometry, such as checkerboard grids, which is often impractical in field settings.

While "non-metric" alternatives exist—relying only on the user identifying lines that should be straight—they have historically been plagued by extreme sensitivity to noise. Even a tiny error in selecting a point on a curve can be magnified by the high-order mathematical terms used to model the lens, leading to unstable results. This paper introduces a robust non-metric calibration technique that achieves sub-pixel accuracy by redefining how error is calculated.

Distortion Modeling and Calibration

The authors propose a comprehensive distortion model that combines two primary components:

  1. Radial Distortion: Modeled up to the 5th order to handle the inward "pull" toward the optical center.
  2. Decentering Distortion: Utilizing Conrady’s model to account for physical misalignments in the lens elements.

To maintain stability during optimization, the authors use a modified simplex search. Crucially, they decouple the search for the optical center (the point where distortion is zero) from the other parameters, using a coarse-to-fine grid search to prevent the optimizer from getting stuck in unstable local minima.

The $\xi_3$ Objective Function

The core innovation of this work is the $\xi_3$ objective function. Previous methods typically calculated error in the "undistorted" space. Because distortion models use high-order terms like $r^3$ and $r^5$, a 1-pixel error at the edge of a wide-angle image can explode into a massive error in the undistorted coordinate system.

Geometry of the $\xi_3$ objective function, illustrating the search for the 'true' point in the distorted image space.

To solve this, the authors propose Explicit Noise Estimation. As shown in the geometry above, the algorithm searches for a point in the original distorted image that, when undistorted, lies perfectly on the best-fit line. By measuring the error in the original image coordinates (the distorted domain), the algorithm becomes significantly more robust to human error. To ensure real-time performance, they approximate this 2D search with a 1D search along the radial direction, enabling calibration in under 30 seconds.

Results and Polycamera Application

Synthetic tests demonstrated the method's resilience. In simulations with uniform noise of up to $\pm 5$ pixels, a standard sum-of-squares approach ($\xi_1$) resulted in a massive average error of 66.8 pixels. In contrast, the authors' $\xi_3$ method maintained sub-pixel accuracy with an error of only 0.33 pixels.

The final output of the calibration algorithm, demonstrating the successful restoration of straight lines from highly distorted input curves.

Real-world testing was performed using Computar 2.5mm and 3.6mm lenses. Once calibrated, the parameters were used to create a "polycamera" system. By stitching images from four wide-angle cameras, the system produced a seamless 1000x480 pixel panorama at 15 frames per second on a 400 MHz Pentium II, demonstrating that the complex calibration translates into highly efficient real-time correction.

Conclusion

This non-metric approach provides a stable and practical solution for wide-angle lens calibration. While the current method requires manual point selection, the authors suggest that automated edge detection could eventually remove this requirement. They also acknowledge that for extremely wide-angle lenses, the "single-point pupil" assumption may eventually need to be replaced with more complex diacaustic models to achieve perfect visual fidelity.

Summary updated

BibTeX
@inproceedings{swaminathan1999non,
  author = {Rahul Swaminathan and Shree K. Nayar},
  title = {{Non-Metric Calibration of Wide-Angle Lenses and Polycameras}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {1999},
  doi = {10.1109/cvpr.1999.784714},
}
Figure