Revisiting Calibration of Wide-Angle Radially Symmetric Cameras

Andrea Porfiri Dal Cin, Francesco Azzoni, Giacomo Boracchi, Luca MagriECCV 2024

Abstract

Accurate calibration of wide-angle cameras is critical for robotics and computer vision, yet traditional learning-based approaches are often limited by model-specific constraints and parameter ambiguities. We propose a novel two-step calibration framework that separates the estimation of physical light-ray directions from the fitting of specific camera model parameters. By introducing a model-agnostic Viewing-angle Camera Representation (VaCR), our approach achieves superior accuracy and generalization across multiple lens types. Experimental results on datasets like KITTI-360 and WoodScape demonstrate that our method significantly outperforms existing state-of-the-art techniques in both reprojection error and image rectification quality.

Introduction

Camera calibration is the fundamental process of mapping 3D world coordinates to 2D sensor pixels. For wide-angle lenses, such as fisheye and 360° cameras, this process is particularly challenging due to extreme radial distortion. Existing learning-based methods typically attempt to regress camera parameters directly from a single image. However, these methods face three primary hurdles: inflexibility toward different lens models, the requirement for differentiable camera equations during training, and parameter ambiguity in complex models where different numerical sets describe identical geometries.

Proposed Framework

To address these issues, we introduce a two-step framework that disentangles the visual perception of distortion from the mathematical modeling of the lens.

Comparison of traditional end-to-end calibration approaches versus the proposed two-step regression-based framework.

Step 1: Viewing-angle Camera Representation (VaCR)

The core of our method is the VaCR, a model-agnostic representation that maps every pixel in an image to its corresponding 3D light-ray direction. For radially symmetric cameras, this 2D mapping can be simplified into a 1D function, significantly reducing computational complexity. By predicting physical rays rather than abstract parameters, the network avoids the ambiguity inherent in many camera models.

Geometric illustration of the mapping from the image plane to the unit sphere, defining the Viewing-angle Camera Representation (VaCR).

Step 2: Robust Fitting

Following the prediction of the VaCR, a separate non-linear optimization step (using the Trust Region Reflective algorithm) fits the predicted rays to a user-defined camera model (e.g., KB3, UCM, EUCM, or DSCM). This allows the same neural network to be used for various lens types without retraining.

Architecture and Training

The network architecture utilizes a dual-encoder setup based on ConvNeXt. One encoder processes the raw input image, while the second processes a polar-transformed version. This design exploits the radial symmetry of wide-angle lenses, making the distortion patterns more linear and easier for the network to learn.

Training was conducted on a large-scale synthetic dataset of approximately 146,000 images derived from four diverse sources: KITTI-360, StreetLearn, SILDa, and WoodScape. To ensure robustness, the angular field of view (AFOV) was sampled uniformly between 80° and 190°.

Key Results

Our framework demonstrates state-of-the-art performance across all tested datasets. In terms of Mean Reprojection Error (Re), the proposed method often achieves less than half the error of previous competitors like DeepCalib. Furthermore, the method excels in image rectification, producing higher SSIM and PSNR scores and lower Frechet Inception Distance (FID) compared to existing models. Despite its high accuracy, the model is highly efficient, utilizing only 6.6 million parameters and maintaining high frame rates suitable for real-time applications.

Conclusion and Future Work

By decoupling the learning process from specific camera models through the VaCR, we provide a robust and flexible solution for wide-angle camera calibration. While the current implementation assumes radial symmetry, future work will explore extending this framework to handle manufacturing imperfections and non-central camera models to further improve real-world applicability.

Summary updated

BibTeX
@inproceedings{cin2024revisiting,
  author = {Andrea Porfiri Dal Cin and Francesco Azzoni and Giacomo Boracchi and Luca Magri},
  title = {{Revisiting Calibration of Wide-Angle Radially Symmetric Cameras}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72764-1\_13},
}
Figure