Rethinking Monocular Depth Embedding for Generalized Stereo Matching

Libo Lin, Shuangli Du, Minghua Zhao, Zhenzhen You, Shun Lv +1 more
7/10/2026
cs.CV

Official code: linliboabc-maker/stereo-matching-digital (2 stars, Python, MIT, last commit 2026-07-09).

Abstract

Generally, monocular methods capture rich contextual priors but lack geometric precision, whereas stereo methods are geometrically accurate yet struggle in textureless and occluded regions. Several approaches attempt to combine their strengths to enhance the generalization of stereo matching (SM) by aligning monocular depth with stereo information.

Show full abstract

However, establishing a stable and generalizable alignment is challenging, and unreliable monocular cues can substantially degrade performance. This paper rethinks monocular depth embedding. First, to prevent shortcut learning, we reduce branch coupling instead of expanding network width. Second, we construct soft constraints instead of hard ones from monocular depth to improve tolerance to monocular depth errors. Based on the principles, we integrate monocular information into both feature extraction and GRU iterations. Specifically, the monocular depth map is fused with the RGB image to sharpen depth boundary perception and suppress matching ambiguities. The fused image is then used for feature extraction, allowing the contextual features to encode global geometric information. Furthermore, the monocular depth gradient feature is employed to guide disparity updates, helping to escape local oscillations. Finally, to address the boundary blurring of supervised disparity caused by data augmentation, we propose an edge confidence estimation method and an edge-aware loss function. Our method achieves state-of-the-art (SOTA) performance on multiple standard benchmarks, demonstrating excellent generalization while improving accuracy. The code is available at https://github.com/linliboabc-maker/stereo-matching-digital.

View on arXivView PDF

Code Implementations(1)

MIT
20Python, ShellJul 9, 20264 months agoMIT

Similar Papers

Cite this paper

@article{lin2026rethinking,
  title  = {Rethinking Monocular Depth Embedding for Generalized Stereo Matching},
  author = {Libo Lin and Shuangli Du and Minghua Zhao and Zhenzhen You and Shun Lv and Yiguang Liu},
  year   = {2026},
  eprint = {2607.09284},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.09284v1}
}

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

Discussion