Direct Depth Learning Network for Stereo Matching

Hong Zhang, Haojie Li, Shenglun Chen, Tiantian Yan, Zhihui Wang, Guo Lu, Wanli OuyangarXiv 2020

Abstract

Stereo matching is a cornerstone of autonomous driving, yet most algorithms optimize for pixel disparity rather than physical depth. This discrepancy leads to significant errors at long ranges due to the non-linear relationship between the two. We introduce the Direct Depth Learning Network (DDL-Net), which prioritizes depth as the primary objective. By employing depth-based cost volume sampling and an Adaptive-Grained Depth Refinement module, DDL-Net achieves substantial accuracy gains, particularly in distant regions crucial for safe navigation.

Introduction: The Disparity-Depth Dilemma

In autonomous driving, precise distance estimation is more critical than pixel offsets. Traditionally, stereo matching is treated as a disparity estimation problem, where depth ($D$) is derived from disparity ($d$) via $D = (B \cdot f) / d$. However, this relationship is non-linear. While a small disparity error at close range has a negligible impact on depth, the same error at long distances causes depth inaccuracies to grow quadratically. Current state-of-the-art models often fail in complex driving scenes because they optimize for End-Point Error in the disparity domain, which acts as a poor proxy for depth at a distance.

Methodology: Direct Depth Learning (DDL-Net)

The proposed DDL-Net addresses this by treating depth as the primary learning objective through a two-stage supervised framework.

The DDL-Net architecture consists of a Feature Extraction Module, a Coarse Depth Estimation (CDE) Module, and an Adaptive-Grained Depth Refinement (AGDR) Module.

Coarse Depth Estimation (CDE)

Unlike standard models that build cost volumes by shifting images across pixel disparities, DDL-Net samples matching candidates uniformly across depth ranges. This depth-based sampling ensures a consistent density of candidates for distant objects, which are typically underserved by disparity-based approaches.

Adaptive-Grained Depth Refinement (AGDR)

The second stage performs a local search around the coarse depth to fine-tune the estimate. This is driven by a novel Granularity Uncertainty (GU) mechanism:

  • Scale Uncertainty (SU): Dynamically adjusts the search range. If a prediction has high error potential or is at a great distance, the search range expands to ensure the correct match is captured.
  • Feature Uncertainty (FU): Acts as a weighting mechanism, evaluating the importance of features to mitigate the impact of noise, reflections, or occlusions.

Visualizing Uncertainty and Refinement

The impact of Scale Uncertainty (SU) is most evident when comparing depth and disparity curves. By adjusting the search granularity, the model can "bracket" the ground truth more effectively than fixed-disparity methods.

Visualization of depth and disparity curves under varying Scale Uncertainty (SU). The plots demonstrate how the refinement stage adapts to capture ground-truth values across different ranges.

Experimental Results

DDL-Net was evaluated on the SceneFlow and DrivingStereo benchmarks. The authors specifically avoided disparity-centric benchmarks like KITTI 2015 to maintain focus on depth accuracy.

  • SceneFlow: Achieved a 25% improvement in Mean Absolute Error (MAE).
  • DrivingStereo: Achieved a 12% average improvement.
  • Long-Range Performance: The most significant gains occurred at distances of 70m–80m, where DDL-Net drastically reduced depth errors compared to disparity-optimized models like PSM-Net.

Conclusion

DDL-Net demonstrates that shifting the focus from disparity to direct depth learning significantly enhances the reliability of stereo matching for autonomous systems. While the refinement stage depends on the quality of initial coarse estimates, the use of adaptive uncertainty allows for robust performance across varying distances. Future work may integrate semantic cues to further refine depth in highly ambiguous or occluded environments.

Summary updated

BibTeX
@misc{zhang2020direct,
  author = {Hong Zhang and Haojie Li and Shenglun Chen and Tiantian Yan and Zhihui Wang and Guo Lu and Wanli Ouyang},
  title = {{Direct Depth Learning Network for Stereo Matching}},
  year = {2020},
  eprint = {2012.05570},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.05570},
}
Figure