Estimating the 3D structure of a scene from a single 2D image is an ill-posed problem; mathematically, infinite 3D configurations can produce the same 2D projection. Humans solve this using context and experience, but computers often struggle without explicit geometric constraints. In the paper "Single View Stereo Matching," researchers from SenseTime, CUHK, and Sun Yat-sen University propose a novel approach: reformulating monocular depth estimation as a two-stage stereo problem by synthesizing a second viewpoint.
The Challenge of Monocular Depth
Most monocular depth estimation (MDE) models function as "black boxes" that directly regress depth values from pixels. While effective at leveraging semantic cues (e.g., recognizing the typical size of a tree), these models lack geometric constraints during inference. This leads to suboptimal accuracy and a heavy reliance on massive amounts of expensive ground-truth depth data, such as LiDAR scans. The authors aim to bridge this gap by introducing the mathematical reliability of stereo matching—comparing two viewpoints to calculate distance—into single-camera systems.
A Two-Stage Stereo Pipeline
The proposed framework decomposes the task into two distinct sub-problems connected in an end-to-end pipeline: view synthesis and stereo matching.
- View Synthesis Network: Based on the Deep3D architecture, this network takes the left input image ($I_l$) and predicts a probabilistic disparity map. It uses this map to "shift" pixels from the left image to synthesize a virtual right-hand camera view ($I_r$). This process utilizes a differentiable "selection module," enabling end-to-end training via backpropagation.
- Stereo Matching Network: This component takes the original left image and the synthesized right image as input. It employs a 1D correlation layer to find correspondences. Because the second image is synthesized specifically to mimic a stereo pair, the network can apply standard geometric principles to calculate depth.
By splitting the task, the model moves beyond simple depth guessing to feature matching across two views, mimicking human binocular vision or a physical stereo camera rig.
Evaluation and Performance
The researchers evaluated their model on several standard benchmarks, including KITTI Raw, KITTI Stereo 2015, Make3D, and Cityscapes. The stereo matching component was pre-trained on the synthetic FlyingThings3D dataset.
The model achieved state-of-the-art performance on the KITTI dataset, with an Absolute Relative Difference (ARD) of 0.094, significantly outperforming previous unsupervised (0.114) and semi-supervised (0.113) methods. Notably, this monocular approach outperformed the traditional OpenCV Block Matching (OCV-BM) algorithm—which uses two real images—on the KITTI 2015 benchmark. Qualitatively, the resulting depth maps are much sharper, better preserving the boundaries of thin objects like poles, trees, and pedestrians compared to prior methods.
Key Insights and Limitations
A primary contribution of this work is the use of geometry as a prior. By forcing the model through a stereo matching bottleneck, geometric reasoning is explicitly baked into the architecture. Furthermore, the approach is highly data-efficient; the authors demonstrated that using just 700 real training samples was sufficient to achieve state-of-the-art results when combined with easy-to-collect stereo pairs for the synthesis stage.
Despite its success, the model has limitations. Accuracy is inherently capped by the quality of the synthesized view; failures in handling complex occlusions during synthesis can degrade the stereo matcher's performance. Additionally, running two separate deep networks introduces computational overhead compared to single-regression models. Future work may involve more sophisticated synthesis techniques, such as GANs, to further enhance occlusion handling and depth precision.
Summary updated