TL;DR
This paper introduces a self-supervised method to automatically calibrate various camera models (including perspective, fisheye, and catadioptric) directly from raw video footage. By leveraging existing self-supervised depth and ego-motion estimation frameworks, their approach achieves sub-pixel reprojection accuracy, outperforming previous learning-based methods and offering a more efficient and flexible alternative to traditional calibration techniques.
What Problem Does This Paper Address?
Camera calibration, the process of determining a camera's intrinsic parameters (like focal length and distortion), is crucial for many computer vision tasks. However, traditional calibration methods are often laborious, requiring specialized targets and careful tuning. This process needs to be repeated whenever camera parameters change, which is common for mobile robots and autonomous vehicles. While some "in-the-wild" calibration methods exist, they often rely on strong scene assumptions. Existing learning-based methods either require labeled data or are limited to specific camera types and resolutions. This paper aims to bridge this gap by enabling self-supervised calibration of a wide range of camera models from uncalibrated, raw video data.
Methods
The core of the proposed method is an extension of self-supervised monocular depth and ego-motion estimation. Instead of relying on pre-calibrated cameras, the framework jointly learns the camera's intrinsic parameters alongside depth and pose.
Here's a breakdown:
- Self-Supervised Depth and Ego-Motion: The system uses a depth network to predict depth maps for target images and a pose network to estimate the relative transformation between consecutive frames. These are trained by minimizing the photometric reprojection error – essentially, ensuring that projecting pixels from a context frame into the target frame using the predicted depth and pose results in a visually similar image.
- General Camera Models: The paper leverages the "unified camera model" (UCM) family, which includes models like UCM, EUCM, and DS. These models are more expressive than the standard pinhole model and can handle complex distortions. Crucially, they offer closed-form, differentiable projection and unprojection functions, making them suitable for end-to-end learning.
- Per-Sequence Calibration: Unlike some prior per-frame methods, this approach learns calibration parameters for an entire video sequence. This leads to more stable and accurate results, especially when dealing with sequences of varying lengths.
- End-to-End Differentiability: The entire pipeline, from depth and pose estimation to camera parameter regression, is end-to-end differentiable. This allows gradients from the photometric loss to directly update the camera's intrinsic parameters.
Datasets
The paper uses the following datasets:
- KITTI: Used to demonstrate the ability to recover standard pinhole intrinsics and achieve competitive depth estimation results.
- EuRoC: A challenging dataset featuring indoor MAV sequences with significant six-DoF motion and fisheye camera distortion. This dataset is used for evaluating calibration accuracy and depth estimation performance.
- OmniCam: An outdoor catadioptric sequence used for qualitative evaluation, showcasing the method's ability to handle highly distorted cameras.
The authors also mention combining KITTI and EuRoC to leverage unlabeled data from different sources.
Key Insights and Ideas
- Calibration as a Byproduct of View Synthesis: The most significant insight is that accurate camera calibration can be learned as a byproduct of optimizing for view synthesis in self-supervised depth and ego-motion tasks. This bypasses the need for explicit calibration targets or ground truth.
- Unified Camera Models Enable Broad Applicability: The use of the UCM family of camera models is key to handling diverse camera geometries (perspective, fisheye, catadioptric) without architectural changes, making the method highly versatile.
- Per-Sequence Calibration for Stability: Learning calibration parameters per sequence, rather than per frame, significantly improves robustness and stability, especially in real-world scenarios with potential frame-to-frame variations.
- Efficiency Gains: By using a more efficient camera model (UCM family) and a per-sequence approach, the method achieves higher resolution training and better computational efficiency compared to previous generalized camera models.
Key Results
- Sub-Pixel Reprojection Error: The self-supervised calibration achieves sub-pixel mean reprojection error on the EuRoC dataset, comparable to traditional target-based calibration methods like Basalt.
- State-of-the-Art Depth Estimation: The learned camera parameters lead to state-of-the-art depth estimation results on the EuRoC MAV dataset, outperforming previous methods by up to 16% in absolute relative error.
- Robustness to Perturbations: The method demonstrates strong robustness, able to recover accurate camera parameters even when initialized with perturbed values, suggesting its suitability for online re-calibration.
- Efficiency: The approach allows for training at higher resolutions (e.g., 384x256) with significantly less GPU memory and faster epoch times compared to prior generalized camera models.
Limitations and Future Work
- Limitations:
- While the UCM family is expressive, it might not capture all possible local distortions that a per-pixel model could.
- The method relies on the assumption that the camera parameters remain constant within a sequence.
- Future Work:
- The authors suggest that the framework is amenable to online re-calibration, which could be further explored.
- Combining datasets from different sources to improve performance on smaller datasets is highlighted as a strength and a direction for future work.
- The potential for integrating this self-calibration into other learning procedures where calibration is needed is also mentioned.
Summary updated