Introduction
Stereo matching—the process of calculating depth by comparing images from two slightly offset cameras—is a fundamental task in computer vision. Active stereo systems enhance this process by projecting an infrared (IR) pattern onto the scene, which facilitates finding correspondences in "texture-less" areas like plain white walls.
Despite their advantages, deep learning for active stereo faces significant hurdles. There is a lack of massive, high-quality datasets with ground-truth depth for these systems. Additionally, active systems must overcome unique challenges such as the "inverse square law" (where distant objects appear darker in IR) and high-frequency patterns that create false matches for standard algorithms. ActiveStereoNet (ASN) is the first deep learning-based solution designed to operate entirely without ground-truth depth data, achieving high precision through self-supervision.
Methodology
The authors propose an end-to-end architecture that learns to predict disparity using a novel self-supervised approach. Key innovations include:
- Weighted Local Contrast Normalization (WLCN): Since IR brightness changes with distance, standard photometric loss fails. WLCN normalizes local 9x9 patches, making the loss invariant to illumination and distance while re-weighting errors based on local texture to ignore noise.
- Window-based Optimization with Adaptive Support Weights (ASW): To avoid local minima caused by repetitive IR dot patterns, the loss is aggregated over a 32x32 window during training. Adaptive weights ensure that pixels on different sides of a depth edge do not interfere, preserving sharp boundaries.
- Invalidation Network: The system learns to predict "invalid" regions, such as occlusions, by enforcing a left-right consistency check as a hard constraint during learning.
- Two-Stage Architecture: A Siamese tower extracts features to build a low-resolution cost volume, followed by a two-stream refinement network that restores the disparity map to a full 1280 × 720 resolution while recovering fine details.
Crucially, ASN moves the complexity of "cost aggregation" into the loss function during training. This smooths the optimization landscape without adding computational overhead at runtime.
Experimental Setup and Datasets
The researchers evaluated ASN on both real and synthetic data:
- Real Data: 10,000 IR image pairs captured with an Intel RealSense D435 in office environments.
- Synthetic Data: 10,000 indoor scenes rendered in Blender, featuring simulated IR patterns and perfect ground-truth depth for validation.
- Passive Stereo Benchmarks: To test generalization, the model was evaluated on SceneFlow, Middlebury, and KITTI (2012 and 2015) benchmarks.
Key Results
ASN achieves a remarkable subpixel precision of 1/30th of a pixel, an order of magnitude improvement over traditional handcrafted local methods. The model is highly efficient, running at 60Hz (15ms per frame) on an NVIDIA Titan X.
One of the most significant findings is that the self-supervised model often outperformed supervised versions on test data. This suggests that self-supervision learns the fundamental geometry of the scene rather than overfitting to the specific noise characteristics of training labels. Furthermore, ASN generalizes well to passive RGB stereo, outperforming state-of-the-art self-supervised methods on the KITTI benchmark in edge preservation and outlier reduction.
Conclusion and Future Work
ActiveStereoNet demonstrates that self-supervision is a viable and powerful approach for active depth sensing. While the system currently struggles with transparent objects and extremely thin structures (due to the initial 1/8th resolution cost volume), it sets a new standard for real-time, high-precision depth estimation. Future research may incorporate high-level semantic cues to further improve performance in these challenging scenarios.
Summary updated