Skip to main content
QUICK REVIEW

[Paper Review] Metric3D: Towards Zero-shot Metric 3D Prediction from A Single Image

Wei Yin, Chi Zhang|arXiv (Cornell University)|Jul 20, 2023
Advanced Vision and ImagingComputer Science3 citations
TL;DR

Metric3D proposes a canonical camera space transformation module that resolves metric ambiguity across diverse camera models, enabling zero-shot metric 3D reconstruction from single images. By training on 8 million images with thousands of camera types, the method achieves state-of-the-art performance on 7 zero-shot benchmarks and won the 2nd Monocular Depth Estimation Challenge, enabling accurate metric depth recovery on in-the-wild images without scale drift.

ABSTRACT

Reconstructing accurate 3D scenes from images is a long-standing vision task. Due to the ill-posedness of the single-image reconstruction problem, most well-established methods are built upon multi-view geometry. State-of-the-art (SOTA) monocular metric depth estimation methods can only handle a single camera model and are unable to perform mixed-data training due to the metric ambiguity. Meanwhile, SOTA monocular methods trained on large mixed datasets achieve zero-shot generalization by learning affine-invariant depths, which cannot recover real-world metrics. In this work, we show that the key to a zero-shot single-view metric depth model lies in the combination of large-scale data training and resolving the metric ambiguity from various camera models. We propose a canonical camera space transformation module, which explicitly addresses the ambiguity problems and can be effortlessly plugged into existing monocular models. Equipped with our module, monocular models can be stably trained with over 8 million images with thousands of camera models, resulting in zero-shot generalization to in-the-wild images with unseen camera settings. Experiments demonstrate SOTA performance of our method on 7 zero-shot benchmarks. Notably, our method won the championship in the 2nd Monocular Depth Estimation Challenge. Our method enables the accurate recovery of metric 3D structures on randomly collected internet images, paving the way for plausible single-image metrology. The potential benefits extend to downstream tasks, which can be significantly improved by simply plugging in our model. For example, our model relieves the scale drift issues of monocular-SLAM (Fig. 1), leading to high-quality metric scale dense mapping. The code is available at https://github.com/YvanYin/Metric3D.

Motivation & Objective

  • To enable zero-shot, single-image metric 3D reconstruction across diverse, unseen camera models.
  • To resolve the metric ambiguity caused by varying focal lengths, sensor sizes, and pixel dimensions in monocular depth estimation.
  • To train a single model on large-scale, heterogeneous datasets spanning multiple camera types and scene categories.
  • To achieve accurate metric depth prediction without requiring scale alignment or fine-tuning on test data.
  • To improve downstream applications like monocular SLAM by eliminating scale drift through metric depth supervision.

Proposed method

  • Introduces a canonical camera space transformation module that maps all training images to a standardized camera model, reducing variance from diverse camera intrinsics.
  • Applies two variants of the transformation: one adjusting image appearance to simulate canonical camera behavior, and another transforming ground-truth depth labels for supervision.
  • Uses a de-canonical transformation during inference to recover real-world metric depth from the canonical space predictions.
  • Proposes a random proposal normalization loss that applies scale-shift invariant loss on randomly cropped image patches, emphasizing local geometry and distribution.
  • Trains the model on 8 million images from 11 diverse datasets, including indoor, outdoor, and autonomous driving scenes with tens of thousands of unique camera models.
  • Plugs the module into existing monocular depth architectures without architectural modification, enabling broad compatibility.

Experimental results

Research questions

  • RQ1Can a single monocular depth model generalize to unseen camera models and real-world metric depth recovery without fine-tuning?
  • RQ2How can metric ambiguity from varying focal lengths and sensor sizes be resolved during training to enable zero-shot metric depth estimation?
  • RQ3To what extent can large-scale, heterogeneous datasets improve zero-shot generalization in monocular depth estimation?
  • RQ4Can the proposed canonical camera space transformation outperform methods that encode camera models implicitly or explicitly in the network?
  • RQ5Can metric depth predictions significantly improve downstream tasks like monocular SLAM by eliminating scale drift?

Key findings

  • Metric3D achieves state-of-the-art performance on 7 zero-shot benchmarks, including NYU, KITTI, DIODE, ETH3D, iBims-1, NuScenes, and 7Scenes, without any scale alignment.
  • The method won the 2nd Monocular Depth Estimation Challenge, demonstrating superior generalization and metric accuracy on unseen camera settings.
  • On the KITTI odometry benchmark, integrating Metric3D into Droid-SLAM eliminated scale drift and enabled high-quality metric dense mapping without finetuning.
  • The model successfully reconstructed metric 3D point clouds from Flickr images using only metadata (focal length and pixel size), with measured structure sizes in reasonable real-world ranges.
  • Visual comparisons show significantly fewer artifacts and more accurate depth predictions compared to SOTA methods like Adabins, NewCRFs, and Omnidata.
  • The method enables consistent 360° metric reconstruction from six-ring cameras with varying focal lengths, demonstrating robustness in multi-view autonomous driving scenarios.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.