TL;DR
This paper introduces NOCaL, a novel framework that can learn camera intrinsics and odometry from uncalibrated cameras without requiring extensive manual calibration. By leveraging a neural rendering hypernetwork and a small amount of labeled data for scale, NOCaL automates the interpretation of new imaging devices, paving the way for easier deployment of robots with diverse sensors.
What Problem Does This Paper Address?
Deploying robots equipped with cameras often requires a significant amount of effort in calibration and low-level processing. This is especially true for emerging imaging technologies or when cameras are swapped or upgraded. Traditional methods demand precise calibration, which is time-consuming and requires specialized expertise. This bottleneck hinders the rapid adoption of new sensors and the flexibility of robotic systems. The paper aims to address this by creating a system that can interpret previously unseen cameras automatically, learning their intrinsic parameters and how they move (odometry) without needing explicit calibration beforehand.
Methods
NOCaL is a semi-supervised learning architecture built upon recent advancements in neural rendering. Its core components are:
- Encoding Network: This part of the pipeline, a Convolutional Neural Network (CNN), takes pairs of input images from an uncalibrated camera and encodes them into two outputs:
- Pose Head: Estimates the relative camera pose (translation and rotation) between the image pair.
- Scene Head: Distills scene-specific information into a latent space, which is invariant to the camera's specific parameters.
- Hypernetwork: This network takes the scene latent space vector as input and generates the weights for a light field network (LFN). This means the hypernetwork learns to "construct" a rendering network tailored to the scene.
- Light Field Network (LFN): This network, guided by the weights from the hypernetwork, renders novel views of the scene. It's trained to reconstruct the input images.
- Differentiable Camera Model: NOCaL incorporates a learnable camera model that estimates both intrinsic parameters (focal length, principal point) and a freeform, implicit non-linear distortion model. This model is differentiable, allowing gradients to flow back from the rendering loss to update the camera parameters.
The system is trained using a combination of losses:
- Photometric Loss: Encourages the rendered novel views to match the input images.
- Pose Supervision Loss: A small amount of labeled data (ground truth poses) is used to enforce metric scale and constrain the odometry estimates.
- Latent Space Regularization: A loss term encourages the latent space to have a mean of zero, acting as a prior.
A curriculum learning approach is employed, where the network is first trained to learn scene geometry with fixed intrinsics, then learns focal length to establish scale, and finally learns the full implicit distortion model.
Datasets
- Real-world Data: The LearnLFOdo Dataset [6] was used. This dataset, originally captured with a light field camera, was utilized by taking only the center image, making it suitable for monocular evaluation. It contains 45 scenes with ground truth camera trajectories.
- Synthetic Data: Simulated results were also used to provide comparisons across multiple cameras with defined intrinsics and distortions, allowing for repeatable configurations.
Key Insights and Ideas
- Calibration-Free Odometry: The most significant insight is that it's possible to learn accurate odometry and camera intrinsics from uncalibrated cameras. This bypasses a major hurdle in robotic perception.
- Hypernetwork for Generalization: Using a hypernetwork to generate LFN weights allows the system to adapt to previously unseen cameras. The hypernetwork is pre-trained on a large pool of existing camera data, providing a strong initialization.
- Implicit Distortion Model: The use of an 8-unit wide, 4-layer MLP for modeling non-linear distortion is a novel approach that allows for a flexible and differentiable representation of camera distortions, going beyond traditional parametric models.
- Semi-Supervision for Metric Scale: The paper highlights the effectiveness of using a small amount of labeled data not for full supervision, but specifically to enforce metric scale. This is a practical approach as collecting such data is often much easier than full calibration.
- Ablation Study Importance: The ablation study clearly demonstrates that both the intrinsic parameter estimation and the implicit distortion model are crucial for achieving strong odometry performance, especially when dealing with cameras that deviate from an ideal pinhole model.
Key Results
- Odometry Performance: NOCaL achieved competitive or superior odometry performance compared to a fully supervised method and a calibrated unsupervised method on captured indoor imagery. It achieved a mean translation error of 0.020m and a mean rotation error of 0.412 degrees.
- Camera Parameter Estimation: The system accurately estimates camera intrinsics, with errors comparable to or better than traditional methods like COLMAP, especially when distortion is present. For a camera with large distortion, NOCaL achieved a mean radial error (Ar) of 0.0186, significantly better than the initial error of 0.0440.
- Novel View Synthesis: The framework successfully generates novel views of scenes it has not been trained on, demonstrating its ability to learn scene representations.
- Training and Inference: Training time was approximately 1.5 hours. Inference time for the odometry network alone was 16.9 ms, and for the full framework was 33.9 ms, making it compatible with real-time applications.
Limitations and Future Work
- Camera Model Limitations: The current camera model is based on a pinhole projection with freeform distortion. Cameras that deviate significantly from this, such as extreme fisheye lenses or multi-aperture systems, are not well supported.
- Motion Sensitivity: The approach requires substantial overlap between input images, meaning it can break down for fast motion or low-overlap scenarios.
- Future Work: The authors plan to extend the camera model to handle more general geometries (e.g., fisheye, multi-aperture). They also aim to enable online updates to the camera model for robots operating in extended missions and to integrate with other sensor modalities like time-of-flight and event cameras.
Summary updated