CoL3D: Collaborative Learning of Single-view Depth and Camera Intrinsics for Metric 3D Shape Recovery

Chenghao Zhang, Lubin Fan, Shen Cao, Bojian Wu, Jieping Ye

Abstract

Recovering accurate metric 3D geometry from a single RGB image is a fundamental challenge in computer vision, requiring both precise depth estimation and knowledge of camera intrinsics. Traditional approaches often treat these as independent tasks, which can lead to significant geometric distortions when unprojecting 2D pixels into 3D space. This paper introduces CoL3D, a unified framework that jointly learns monocular depth and camera intrinsics by treating them as mutually beneficial tasks. By utilizing a canonical camera prior and optimizing directly in 3D point cloud space, CoL3D achieves state-of-the-art performance in metric 3D shape recovery, offering a robust solution for robotics and spatial computing applications.

Introduction

For autonomous agents to navigate or interact with their environment, they must understand the 3D geometry of the world from 2D camera feeds. The standard approach, Monocular Depth Estimation (MDE), predicts the distance of each pixel from the camera. However, a depth map alone is insufficient for reconstructing a true, metric 3D point cloud (X, Y, Z coordinates). To correctly unproject 2D pixels into 3D space, the camera's intrinsics—specifically the focal length and optical center—must be known.

In real-world scenarios, camera intrinsics are rarely provided. Previous works have attempted to assume known intrinsics, estimate them separately, or use them as a guide for depth. CoL3D challenges this separation, asking whether joint estimation can leverage the inherent mathematical constraints between depth and intrinsics to improve the accuracy of both.

Methodology

CoL3D employs a shared Swin-Transformer encoder and a dual-head decoder to predict both a depth map and an "incidence field"—a pixel-wise implicit representation of camera intrinsics—from a single RGB image. The framework introduces two primary innovations to facilitate this joint learning:

1. Canonical Incidence Field (Residual Learning)

Rather than requiring the network to estimate the camera's focal length from scratch, CoL3D utilizes a "canonical" camera prior. The network is tasked with learning the residual difference between this standard camera and the actual camera used to capture the image. This approach makes the mathematical transition from focal length to 3D point cloud fully differentiable, significantly easing the optimization process for the neural network.

2. 3D Shape Similarity Measurement

Standard MDE models typically penalize errors in 2D pixel space. In contrast, CoL3D unprojects the predicted depth and predicted intrinsics into a 3D point cloud and applies a Chamfer Distance loss against the ground-truth 3D shape. This objective function forces the network to prioritize the final geometric structure of the scene, ensuring that the reconstructed room or object is structurally sound rather than just pixel-accurate.

Key Insights

  • Mathematical Reciprocity: The authors demonstrate that if the depth map and the 3D distance between reference objects in a scene are known, camera intrinsics can be definitively calculated. This proof justifies the joint-learning architecture, as depth serves as a powerful 3D prior for camera calibration.
  • Geometric Error Compounding: While a depth map may appear accurate when evaluated pixel-by-pixel, minor errors in focal length estimation cause massive warping during 3D projection. Direct optimization on the 3D point cloud effectively mitigates these geometric distortions.
  • Robustness of Priors: Ablation studies indicate that the model is highly robust to the specific canonical focal length chosen, provided the residual learning mechanism is active.

Experimental Results

The authors evaluated CoL3D across several benchmarks, focusing on in-domain settings where the model is trained and tested on the same dataset.

  • Depth Estimation: CoL3D outperforms state-of-the-art in-domain MDE methods. On the NYU-Depth V2 dataset, it improved Root Mean Square Error (RMSE) by over 6% (0.294) compared to previous baselines. On the outdoor KITTI dataset, it achieved an RMSE of 2.002.
  • Camera Calibration: The model excels at single-image calibration. On the Taskonomy dataset, it achieved a Field of View (FoV) error of just 1.342°. On Google Street View (GSV), it achieved a mean angular error of approximately 2.58°, surpassing many dedicated calibration models.
  • 3D Shape Quality: By utilizing the 3D Chamfer loss, CoL3D achieved the lowest Chamfer distance (0.120) on the NYU dataset, resulting in point clouds with significantly less noise and distortion than competing methods.
  • Efficiency: The model is relatively efficient with 212M parameters—fewer than some heavy baselines like NeWCRFs (270M). However, the dual-head unprojection process results in a slightly longer inference time of 0.132s per image.

Limitations and Future Work

CoL3D is primarily designed for in-domain settings. There remains a performance gap when compared to massive "foundation models" (such as UniDepth) that are trained on internet-scale, heterogeneous datasets. Additionally, the joint prediction and unprojection process introduces a minor computational overhead during inference.

Future research will focus on expanding the CoL3D framework to larger, more diverse datasets to develop a more universal, zero-shot 3D recovery model capable of handling a wider variety of "in the wild" camera configurations.

Summary updated

BibTeX
@inproceedings{zhang2025col,
  author = {Chenghao Zhang and Lubin Fan and Shen Cao and Bojian Wu and Jieping Ye},
  title = {{CoL3D: Collaborative Learning of Single-view Depth and Camera Intrinsics for Metric 3D Shape Recovery}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2025},
  doi = {10.1109/icra55743.2025.11128515},
}
Figure