TR2M: Transferring Monocular Relative Depth to Metric Depth with Language Descriptions and Dual-Level Scale-Oriented Contrast

Bei-Lei Cui, Yi-Ming Huang, Long Bai, Hong-Liang Ren
1/1/2026

No official code found. Best implementation: BeileiCui/TR2M (37 stars, Jupyter Notebook, last commit 2026-05-27).

Abstract

This work presents a generalizable framework to transfer relative depth to metric depth. Current monocular depth estimation methods are mainly divided into metric depth estimation (MMDE) and relative depth estimation (MRDE).

Show full abstract

MMDEs estimate depth in metric scale but are often limited to a specific domain. MRDEs generalize well across different domains, but with uncertain scales that hinder downstream applications. To this end, we aim to build up a framework to solve scale uncertainty and transfer relative depth to metric depth. Previous methods used language as input and estimated two factors for conducting rescaling. Our approach, TR2M, utilizes both text descriptions and images as inputs and estimates two rescale maps to transfer relative depth to metric depth at the pixel level. Features from two modalities are fused with a cross-modality attention module to better capture scale information. A strategy is designed to construct and filter confident pseudo metric depth for more comprehensive supervision. We also develop dual-level scale-oriented contrastive learning to utilize depth distribution as guidance to enforce the model learning about intrinsic cues consistent with the scale distribution. TR2M only exploits a small number of trainable parameters to train on datasets in various domains and experiments not only demonstrate TR2M's great performance in seen datasets but also reveal superior zero-shot capabilities on five unseen datasets. We show the huge potential in pixel-wise transferring relative depth to metric depth with language assistance instead of large-size metric depth models with large amounts of training data. Code is available at: https://github.com/BeileiCui/TR2M.

Semantic Scholar

Code Implementations(1)

BeileiCui/TR2MCommunity68%

[CVPR 2026] TR2M: Transferring Monocular Relative Depth to Metric Depth with Language Descriptions and Dual-Level Scale-Oriented Contrast

371Jupyter Notebook, PythonMar 20, 20256 months ago

Similar Papers

Cite this paper

@article{cui2026trm,
  title  = {TR2M: Transferring Monocular Relative Depth to Metric Depth with Language Descriptions and Dual-Level Scale-Oriented Contrast},
  author = {Bei-Lei Cui and Yi-Ming Huang and Long Bai and Hong-Liang Ren},
  year   = {2026},
  url    = {https://api.semanticscholar.org/CorpusID:3475a1bdfe4c8366755c778932f590424c875d81},
  journal = {Computer Vision and Pattern Recognition}
}

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/3475a1bdfe4c8366755c778932f590424c875d81.svg)](https://codeofpaper.com/paper/3475a1bdfe4c8366755c778932f590424c875d81)

Discussion