Abstract
Modern deep learning approaches to stereo matching often overlook the rich guidance information present in the original image content. Standard convolutions used in cost aggregation are content-insensitive, frequently leading to over-smoothing at depth boundaries and the erasure of thin structures. This paper explores the integration of content-adaptive filtering modules—SABF, DFN, PAC, and SGA—to leverage image edges and semantics as a dynamic guide for the matching process. Evaluations across diverse backbones and datasets reveal that these modules significantly enhance accuracy and boundary preservation, with error reductions ranging from 10% to 27%.
Introduction
Stereo matching aims to estimate depth by finding correspondences between rectified image pairs. While end-to-end deep networks have set new benchmarks, they typically rely on standard convolutions to regularize the cost volume. These convolutions apply uniform weights regardless of local image features, causing "bleeding" at object edges and the loss of fine details like poles or railings. This research investigates whether treating the input RGB image as a conductor for cost aggregation can mitigate these issues.
Methodology: Content-Adaptive Filtering
The authors systematically integrated four adaptive filtering modules into established stereo backbones (DispNetC, GCNet, PSMNet, and GANet):
- Segmentation-aware Bilateral Filtering (SABF): Learns semantic embeddings to ensure smoothing occurs primarily within consistent object regions.
- Dynamic Filtering Networks (DFN): Generates unique, content-dependent convolutional kernels for every pixel.
- Pixel Adaptive Convolution (PAC): Multiplies standard weights by a spatial kernel that accounts for pixel similarity (e.g., color or position).
- Semi-Global Aggregation (SGA): A differentiable implementation of classic Semi-Global Matching that aggregates costs along multiple directions.
Experimental Evaluation
The models were trained on the synthetic Scene Flow dataset and evaluated on KITTI 2015 (real-world) and Virtual KITTI 2 (VKT2). VKT2 was particularly useful for testing generalization across varying environmental conditions such as fog, rain, and different lighting.
Key Insights and Results
The integration of adaptive filters yielded several critical findings:
- Significant Error Reduction: The "bad-3" error metric improved by 10% to 27% across different backbones. For example, adding SGA to DispNetC on KITTI 2015 reduced the error rate from 3.02% to 2.18%.
- SGA as a Performance Leader: Semi-Global Aggregation consistently provided the most substantial accuracy gains by incorporating global optimization principles into the deep learning pipeline.
- Robustness and Generalization: While SGA excelled on seen data, DFN demonstrated superior robustness when generalizing to the diverse weather conditions present in Virtual KITTI 2.
Conclusion
This work demonstrates that image content is an under-utilized resource in end-to-end stereo matching. By employing content-adaptive filters, networks can achieve much higher visual fidelity and sharper depth boundaries. While modules like SGA introduce significant computational overhead, the trade-off in accuracy—especially for lighter 2D architectures—presents a compelling path forward for high-precision depth estimation. Future research will likely focus on optimizing these modules for real-time performance and tighter semantic integration.
Summary updated