A practical toolbox for calibrating omnidirectional cameras

Davide Scaramuzza, Roland SiegwartRepository 2007 · DOI · OpenAlex

Abstract

An omnidirectional camera is a vision system providing a 360° panoramic view of the scene. Such an enhanced field of view can be achieved by either using catadioptric systems, which combine mirrors and conventional cameras, or employing purely dioptric fish-eye lenses. Omnidirectional cameras can be classified as central or non-central, depending on whether they satisfy the single effective viewpoint property. This property is highly desirable as it allows for the generation of geometrically correct perspective images and the application of standard epipolar geometry. This paper focuses on the calibration of central omnidirectional cameras, describing a novel procedure and providing a practical MATLAB Toolbox, OcamCalib, which enables users to easily calibrate their own systems. The performance of the proposed technique is evaluated through both synthetic and real-world calibration experiments.

Introduction

Omnidirectional cameras provide a 360° field of view, which is incredibly useful for robotics, autonomous navigation, and Structure from Motion (SfM). However, calibrating these systems is traditionally difficult. Standard calibration methods for perspective cameras fail due to extreme radial distortion. Previous omnidirectional calibration techniques were often limited to specific mirror shapes or required perfect alignment between camera and mirror axes. Furthermore, many methods required the external boundary of the mirror to be visible in the image to find the center of projection, a condition not always met in real-world setups.

The Generalized Parametric Model

The authors propose a generalized parametric model that treats the camera as a "black box." Instead of modeling the specific physics of a parabolic mirror or a fisheye lens, they describe the relationship between a pixel and its corresponding 3D ray using a Taylor series expansion. This approach is particularly robust because it does not rely on the precise knowledge of the mirror's geometry or its alignment with the camera.

Generalized projection model and image plane coordinates for central omnidirectional cameras.

Key components of this approach include:

  • Polynomial Projection: They propose a polynomial function $f(\rho)$, where $\rho$ is the distance from the image center. This function maps 2D pixels to 3D vectors emanating from a single viewpoint. The coefficients of this polynomial are determined during the calibration process.
  • Two-Stage Calibration:
    1. Linear Estimation: The process begins by using a standard chessboard pattern. By identifying corner points in multiple images, the system solves for initial intrinsic and extrinsic parameters using a linear least-squares approach.
  • Non-linear Refinement: To achieve high accuracy, the initial estimates are refined using the Levenberg-Marquardt algorithm. This step fine-tunes all parameters, including the "stretch matrix" (to account for pixel aspect ratio and slight sensor misalignments) and the exact image center.
  • Automatic Center Detection: One of the most significant contributions is a novel iterative search algorithm that finds the image center by minimizing the Sum of Squared Reprojection Errors (SSRE). Unlike previous methods, this removes the requirement for the mirror's circular boundary to be visible, which is often obstructed or poorly defined in practical setups.

Experimental Results

The OcamCalib toolbox was evaluated using both synthetic and real-world data to ensure its robustness and accuracy. Synthetic tests demonstrated high noise tolerance; even with a noise level of 1.0 pixel—which is significant for high-resolution sensors—the non-linear refinement kept the average reprojection error below 0.4 pixels.

Calibration pattern detection and reprojection refinement using the OcamCalib toolbox.

For real-world validation, the authors used a KAIDAN 360° One VR camera equipped with a hyperbolic mirror. The system was tasked with a 3D reconstruction of a "trihedron"—an object consisting of three orthogonal chessboard patterns. The results were impressive: the reconstructed angles between the planes were measured at 94.6°, 86.8°, and 85.3°, closely approximating the true 90° angles. Furthermore, the average error in the dimension of the reconstructed checkers was only 0.3 cm for a 6.0 cm checker. This level of precision demonstrates that the toolbox is capable of extracting highly accurate metric information from complex environments, making it suitable for demanding tasks like autonomous navigation.

Conclusion

By using a Taylor series, the OcamCalib model can compensate for slight misalignments between the camera and mirror, making it suitable for "quasi-central" systems. The toolbox's user-centric design, featuring a GUI with visual feedback, makes advanced calibration accessible to non-experts. While primarily designed for central systems, the model's flexibility suggests potential for future extensions to handle more complex non-central camera geometries.

Summary updated

Abstract

An omnidirectional camera is a vision system providing a 360° panoramic view of the scene. Such an enhanced field of view can be achieved by either using catadioptric systems, which opportunely combine mirrors and conventional cameras, or employing purely dioptric fish-eye lenses. Omnidirectional cameras can be classified into two classes, central and non-central, depending on whether they satisfy the single effective viewpoint property or not (Baker & Nayar, 1998). As noted in (Svoboda & T. Pajdla, 1997), it is highly desirable that such imaging systems have a single effective viewpoint. When this property is verified, there exists a single center of projection, that is, every pixel in the sensed images measures the irradiance of the light passing through the same viewpoint in one particular direction. The reason a single viewpoint is so desirable is that it allows the user to generate geometrically correct perspective images from the pictures captured by an omnidirectional camera. Moreover, it allows applying the known theory of epipolar geometry, which easily allows the user to perform ego-motion estimation and structure from motion from image correspondences only. As shown in (Baker & Nayar, 1998), central catadioptric systems can be built by combining an orthographic camera with a parabolic mirror, or a perspective camera with a hyperbolic or elliptical mirror. Conversely, panoramic cameras using fish-eye lenses cannot in general be considered central systems, but the single viewpoint property holds approximately true for some camera models (Micusik & Pajdla, 2003). In this chapter, we focus on calibration of central omnidirectional cameras, both dioptric and catadioptric. After outlining previous works on omnidirectional camera calibration, we describe our novel procedure and provide a practical Matlab Toolbox, which allows any inexpert user to easily calibrate his own camera. Accurate calibration of a vision system is necessary for any computer vision task requiring extracting metric information of the environment from 2D images, like in ego-motion estimation and structure from motion. While a number of calibration methods has been developed for standard perspective cameras (Zhang, 2000), little work on omnidirectional cameras has been done. The first part of this chapter will present a short overview about previous methods for calibration of omnidirectional cameras. In particular, their limitations will be pointed out. The second part of this chapter will present our calibration technique whose performance is evaluated through calibration experiments. Then, we will present our
BibTeX
@inproceedings{scaramuzza2007practical,
  author = {Davide Scaramuzza and Roland Siegwart},
  title = {{A practical toolbox for calibrating omnidirectional cameras}},
  booktitle = {Repository},
  year = {2007},
  doi = {10.3929/ethz-a-005657929},
}
Figure