Repurposing Diffusion-Based Image Generators for Monocular Depth Estimation

Bingxin Ke, Anton Obukhov, Shengyu Huang, Nando Metzger, R. C. Daudt +1 more
2/14/2026

No official code found. Best implementation: prs-eth/Marigold (3,193 stars, Apache-2.0, last commit 2025-12-10). 1 more below.

Abstract

Monocular depth estimation is a fundamental computer vision task. Recovering 3D depth from a single image is geometrically ill-posed and requires scene understanding, so it is not surprising that the rise of deep learning has led to a breakthrough. The impressive progress of monocular depth estimators has mirrored the growth in model capacity, from relatively modest CNNs to large Transformer architectures. Still, monocular depth estimators tend to struggle when presented with images with unfamiliar content and layout, since their knowledge of the visual world is restricted by the data seen during training, and challenged by zero-shot generalization to new domains. This motivates us to explore whether the extensive priors captured in recent generative diffusion models can enable better, more generalizable depth estimation. We introduce Marigold, a method for affine-invariant monocular depth estimation that is derived from Stable Diffusion and retains its rich prior knowledge. The estimator can be fine-tuned in a couple of days on a single GPU using only synthetic training data. It delivers state-of-the-art performance across a wide range of datasets, including over 20% performance gains in specific cases. Project page: https://marigoldmonodepth.github.io.

View on arXivView PDF

Code Implementations(2)

prs-eth/MarigoldCommunity100%
Apache-2.0

[CVPR 2024 - Oral, Best Paper Award Candidate] Marigold: Repurposing Diffusion-Based Image Generators for Monocular Depth Estimation

3,193209Shell, PythonNov 27, 202310 months agoApache-2.0
depth-estimationdiffusionin-the-wildmonocular-depth-estimationzero-shot
Apache-2.0

[CVPR 2024 - Oral, Best Paper Award Candidate] Marigold: Repurposing Diffusion - Based Image Generators for Monocular Depth Estimation

00Shell, Python1 years agoApache-2.0
depth-estimationdiffusionin-the-wildmonocular-depth-estimationzero-shot

Similar Papers

Cite this paper

@article{ke2026repurposing,
  title  = {Repurposing Diffusion-Based Image Generators for Monocular Depth Estimation},
  author = {Bingxin Ke and Anton Obukhov and Shengyu Huang and Nando Metzger and R. C. Daudt and Konrad Schindler},
  year   = {2026},
  eprint = {2312.02145},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2312.02145},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.02145.svg)](https://codeofpaper.com/paper/2312.02145)

Discussion