Abstract
Efficient estimation of depth from pairs of stereo images is one of the core problems in computer vision. We efficiently solve the specialized problem of stereo matching under active illumination using a new learning-based algorithm. This type of active stereo—i.e., stereo matching where scene texture is augmented by an active light projector—is proving compelling for designing depth cameras, largely due to improved robustness when compared to time-of-flight or traditional structured light techniques. Our algorithm uses an unsupervised greedy optimization scheme that learns features that are discriminative for estimating correspondences in infrared images. The proposed method optimizes a series of sparse hyperplanes that are used at test time to remap all the image patches into a compact binary representation in O(1). The proposed algorithm is cast in a PatchMatch Stereo-like framework, producing depth maps at 500Hz. In contrast to standard structured light methods, our approach generalizes to different scenes, does not require tedious per-camera calibration procedures, and is not adversely affected by interference from overlapping sensors. Extensive evaluations show we surpass the quality and overcome the limitations of current depth sensing technologies.
Introduction
Depth sensing is a cornerstone of modern computer vision, powering applications from AR/VR to robotics. However, current technologies face significant trade-offs between accuracy, speed, and robustness. UltraStereo is a high-speed depth-sensing framework designed to overcome these traditional limitations. By combining unsupervised machine learning with active stereo vision, the system achieves state-of-the-art depth estimation at an unprecedented 500Hz.
Challenges in Current Depth Sensing
Existing depth-sensing technologies have notable drawbacks:
- Time-of-Flight (ToF): These sensors are often expensive, offer low resolution, and suffer from multi-path interference, where light bouncing off multiple surfaces confuses the sensor.
- Structured Light (SL): Systems like the original Kinect project a known pattern. They struggle with motion blur and interference; if two projectors overlap, both sensors typically fail.
- Active Stereo: This approach uses two cameras and a projector to provide texture for matching. While robust, the matching process—finding corresponding pixels between cameras—is computationally expensive, typically limiting frame rates to 30-60Hz.
UltraStereo addresses the computational bottleneck of active stereo while maintaining its inherent resistance to multi-path interference and sensor-to-sensor crosstalk.
The UltraStereo Method
The core innovation of UltraStereo lies in its efficient handling of matching cost computation through a novel learning-based pipeline.
1. Unsupervised Binary Representation
Instead of comparing raw pixel values, the algorithm learns to map an $11 \times 11$ image patch into a compact 32-bit binary integer. It uses an unsupervised greedy optimization to find "sparse hyperplanes," essentially selecting a few key pixels in a patch to determine its binary code. This learned representation is more discriminative than raw data because infrared patches under active illumination contain significant redundancy.
2. O(1) Mapping and PatchMatch Framework
Because the mapping uses sparse hyperplanes (only 4 non-zero elements per bit), the complexity of converting an image into these binary codes is independent of the window size ($O(1)$). Once converted, the system employs a modified PatchMatch Stereo framework, using random initialization and spatial propagation to find the best disparity for each pixel.
3. GPU Optimization
The pipeline is implemented on a GPU, subdividing the image into $64 \times 64$ blocks to process rows and columns in parallel, enabling sub-millisecond processing times per frame.
Evaluation and Results
The authors evaluated UltraStereo using a mix of synthetic data (2,500 training and 900 test images rendered in Blender) and real-world data from a custom prototype using high-speed Ximea IR cameras.
- Extreme Speed: The entire pipeline runs in 2.03ms per frame on an NVIDIA Titan X, achieving approximately 492Hz at $1280 \times 1024$ resolution.
- High Accuracy: UltraStereo achieved 72% accuracy (pixels within 1 disparity of ground truth), significantly outperforming standard binary descriptors like Census (61%) or LSH (51%).
- Robustness to Interference: Unlike traditional structured light, overlapping patterns from multiple sensors actually improve matching by adding more texture to the scene. Qualitative results show high-quality depth maps even with multiple active sensors, where competing methods fail.
- Superior Edge Handling: The method demonstrates significantly less "edge fattening" compared to other local stereo methods, preserving object boundaries more effectively.
Conclusion and Future Work
UltraStereo demonstrates that high-speed, robust depth sensing is achievable through efficient learned representations. While currently requiring a high-end desktop GPU, future work may involve porting the algorithm to mobile or embedded platforms. The authors suggest that this binary representation could extend beyond stereo matching to real-time 3D tracking and SLAM applications.
Summary updated