Abstract
Stereo-based depth estimation is a cornerstone of computer vision, with state-of-the-art methods delivering accurate results in real time. For several applications such as autonomous navigation, however, it may be useful to trade accuracy for lower latency. We present Bi3D, a method that estimates depth via a series of binary classifications. Rather than testing if objects are at a particular depth D, as existing stereo methods do, it classifies them as being closer or farther than D. This property offers a powerful mechanism to balance accuracy and latency. Given a strict time budget, Bi3D can detect objects closer than a given distance in as little as a few milliseconds, or estimate depth with arbitrarily coarse quantization, with complexity linear with the number of quantization levels. Bi3D can also use the allotted quantization levels to get continuous depth, but in a specific depth range. For standard stereo (i.e., continuous depth on the whole range), our method is close to or on par with state-of-the-art, finely tuned stereo methods.
Introduction
Traditional stereo depth algorithms typically build a massive "cost volume" to test a fixed range of disparities (usually 192 levels). This approach is computationally expensive and rigid. In scenarios like autonomous navigation, a vehicle might only need to know if an obstacle is within a critical braking zone. Calculating precise distances for distant objects in such cases is a waste of computational resources.
Furthermore, standard methods often struggle with "out-of-range" objects, snapping them to the nearest boundary and causing significant errors. Bi3D addresses these issues by providing a flexible framework where the computational budget can be dynamically allocated based on the task's requirements.
Methodology: Depth as a Binary Classification
The core innovation of Bi3D is framing depth estimation as a series of simple binary classifications.
The Binary Task
Instead of regressing an exact distance, the system asks: "Is the object at this pixel in front of or behind a specific plane $\pi_D$?" Given a stereo pair, the algorithm warps one image toward the other based on a specific disparity $d$. A network, Bi3DNet, then classifies each pixel.
Flexible Depth Estimation
Bi3D offers several modes of operation, allowing for an unprecedented trade-off between depth accuracy and computational latency:
- Quantized Depth: By testing $L-1$ planes, the system creates $L$ depth bins. This allows for extremely fast, coarse depth maps suitable for rapid navigation.
- Continuous Depth via AUC: To achieve high-precision, continuous depth, the binary classification confidences are treated as a Cumulative Distribution Function (CDF). The Area Under the Curve (AUC) across multiple planes provides a sub-pixel disparity estimate.
- Selective Depth: Computational resources can be focused on a specific range (e.g., high detail between 5 and 10 meters) while using a single binary plane to "geo-fence" everything else.
Evaluation and Results
The authors evaluated Bi3D on the Scene Flow synthetic dataset and the KITTI 2015 real-world automotive benchmark.
Performance and Latency
Bi3D demonstrates a linear relationship between computational cost and the number of planes tested. It can produce a binary depth map in just 5.3ms (>180 FPS) and a 4-level quantized map in 9.8ms (>100 FPS) on an NVIDIA V100.
Accuracy
When configured for high accuracy, Bi3D achieved an End-Point Error (EPE) of 0.73 on Scene Flow, ranking 2nd among published methods at the time. It also outperformed established models like PDS-Net and GC-Net on the KITTI leaderboard, preserving fine structures like thin power lines better than methods that tend to over-smooth features.
Discussion
Bi3D's strength lies in its "graceful degradation." Unlike cost-volume methods that fail outside their search range, Bi3D’s classification remains valid; the network always knows which side of a boundary an object sits on.
Limitations and Future Work
Currently, the refinement modules (SegRefine) run independently for each plane in quantized mode, which may lead to cross-plane inconsistencies. Future research could explore Adaptive Sampling, where the system intelligently selects depth planes to test on-the-fly based on scene content, or integrating temporal consistency for video processing.
Summary updated