ScaleDepth: Decomposing Metric Depth Estimation into Scale Prediction and Relative Depth Estimation
Ruijie Zhu, Chuxin Wang, Ziyang Song, Li Liu, Tianzhu Zhang, Yongdong Zhang
TL;DR
ScaleDepth tackles monocular metric depth estimation across diverse indoor and outdoor scenes by decomposing depth into scene scale $S$ and relative depth $R$, yielding $M = S \times R$. It introduces SASP to predict $S$ via semantic-structural cues and CLIP-based text-image similarity, and ARDE to estimate $R$ in a normalized $0$-$1$ depth space using bin-based, mask-guided attention. A joint loss combines Scale-Invariant depth loss with a Text-Image similarity term, and the model achieves state-of-the-art results in indoor, outdoor, unconstrained, and unseen scenarios without predefined depth ranges. The approach offers strong zero-shot generalization and practical impact for robotics, AR/VR, and 3D reconstruction by providing accurate metric depth across diverse environments without dataset-specific tuning. Overall, ScaleDepth demonstrates a robust framework for universal monocular depth estimation by explicitly modeling scene scale and depth distribution adaptively.
Abstract
Estimating depth from a single image is a challenging visual task. Compared to relative depth estimation, metric depth estimation attracts more attention due to its practical physical significance and critical applications in real-life scenarios. However, existing metric depth estimation methods are typically trained on specific datasets with similar scenes, facing challenges in generalizing across scenes with significant scale variations. To address this challenge, we propose a novel monocular depth estimation method called ScaleDepth. Our method decomposes metric depth into scene scale and relative depth, and predicts them through a semantic-aware scale prediction (SASP) module and an adaptive relative depth estimation (ARDE) module, respectively. The proposed ScaleDepth enjoys several merits. First, the SASP module can implicitly combine structural and semantic features of the images to predict precise scene scales. Second, the ARDE module can adaptively estimate the relative depth distribution of each image within a normalized depth space. Third, our method achieves metric depth estimation for both indoor and outdoor scenes in a unified framework, without the need for setting the depth range or fine-tuning model. Extensive experiments demonstrate that our method attains state-of-the-art performance across indoor, outdoor, unconstrained, and unseen scenes. Project page: https://ruijiezhu94.github.io/ScaleDepth
