Abstract
We present a deep model that can accurately produce dense depth maps given an RGB image with known depth at a very sparse set of pixels. The model works simultaneously for both indoor/outdoor scenes and produces state-of-the-art dense depth maps at nearly real-time speeds on both the NYUv2 and KITTI datasets. We surpass the state-of-the-art for monocular depth estimation even with depth values for only 1 out of every 10,000 image pixels, and we outperform other sparse-to-dense depth methods at all sparsity levels. With depth values for 1/256 of the image pixels, we achieve a mean error of less than 1% of actual depth on indoor scenes, comparable to the performance of consumer-grade depth sensor hardware. Our experiments demonstrate that it would indeed be possible to efficiently transform sparse depth measurements obtained using e.g. lower-power depth sensors or SLAM systems into high-quality dense depth maps.
Introduction
Depth estimation is a cornerstone of computer vision, essential for AR/VR, robotics, and autonomous driving. Currently, the field faces a "Goldilocks" problem with hardware: monocular depth estimation from a single RGB image is flexible but suffers from significant scale ambiguity (errors >12%), while active sensors like LiDAR or Kinect provide high accuracy (~1% error) but are often bulky, power-hungry, and limited in range or environmental conditions.
Researchers from Magic Leap have developed "Deep Depth Densification" ($D^3$), a framework that bridges this gap. By combining a standard RGB image with an extremely sparse set of "anchor" depth points, the model leverages visual context to accurately fill in the remaining pixels, achieving hardware-level accuracy with software-level flexibility.
System Overview
The $D^3$ pipeline integrates sparse depth samples with RGB image data through a deep neural network to generate dense predictions.
Methods
The authors propose a deep neural network architecture and a novel way to represent sparse data to ensure the model can effectively process limited geometric information.
Input Parametrization
Instead of feeding the network a mostly empty grid, the sparse data is pre-processed into two dense channels:
- $S_1$ (Nearest Neighbor Fill): Every pixel is assigned the value of the closest known depth point, creating a "blocky" map that provides a rough global scale.
- $S_2$ (Distance Transform): A map representing the Euclidean distance from each pixel to the nearest known depth sample. This acts as a spatial prior, telling the network how much to "trust" the $S_1$ value at any given location.
Architecture and Training
The model utilizes an encoder-decoder structure based on DenseNet blocks. Crucially, sparse depth information is injected at multiple resolutions to ensure anchor points aren't lost during downsampling. Rather than predicting depth from scratch, the network learns to predict a residual (an adjustment) to be added to the $S_1$ map. To ensure robustness, the authors employed a "slow decay" training curriculum, gradually reducing the number of depth points available to the model during training.
Key Results
The model was evaluated on the NYUv2 (indoor) and KITTI (outdoor) benchmarks, demonstrating exceptional performance and generalizability.
- High Accuracy: At a sampling density of 1/256 pixels (0.39%), the model achieved a Mean Absolute Relative Error of less than 1% on indoor scenes, matching the performance of dedicated hardware sensors.
- State-of-the-Art: $D^3$ outperformed previous sparse-to-dense methods across all tested sparsity levels, even resolving scale issues with as few as 1 in 10,000 pixels.
- Efficiency: The "slim" version of the model runs at 16 fps on a single GPU, making it viable for real-time applications in robotics and AR.
- Cross-Domain Generalization: A model trained on indoor data performed surprisingly well on outdoor scenes, suggesting the network learned fundamental geometric relationships between RGB features and depth.
Conclusion
Deep Depth Densification demonstrates that sparse depth measurements from low-power sensors or SLAM systems can be efficiently transformed into high-quality dense maps. While accuracy decreases slightly for very distant objects, the system's robustness and speed make it a promising candidate for integration with next-generation ultra-low-power hardware.
Summary updated