Abstract
Successful depth completion from a single RGB-D image requires both extracting plentiful 2D and 3D features and merging these heterogeneous features appropriately. We propose a novel depth completion framework, CostDCNet, based on the cost volume-based depth estimation approach that has been successfully employed for multi-view stereo (MVS). The key to high-quality depth map estimation in the approach is constructing an accurate cost volume. To produce a quality cost volume tailored to single-view depth completion, we present a simple but effective architecture that can fully exploit the 3D information, three options to make an RGB-D feature volume, and per-plane pixel shuffle for efficient volume upsampling. Our CostDCNet framework consists of lightweight deep neural networks (~1.8M parameters), running in real time (~30 ms). Nevertheless, thanks to our simple but effective design, CostDCNet demonstrates depth completion results comparable to or better than the state-of-the-art methods.
Introduction
Depth sensors like LiDAR, Kinect, and RealSense are essential for robotics and AR, but they often produce "sparse" or "semi-dense" depth maps filled with holes. Depth completion is the task of filling these gaps using a corresponding RGB image. Most current methods treat depth maps as 2D images and use standard 2D CNNs. However, 2D convolutions don't inherently "understand" 3D geometry; they treat a pixel's depth value just like a color intensity. While 3D CNNs can model geometry better, they are notoriously memory-hungry and slow. CostDCNet addresses this by adapting the "cost volume" concept from multi-view stereo (MVS) to exploit 3D geometric information efficiently enough for real-time applications.
Methodology
The core innovation of CostDCNet is the Multiple-Depth-Plane Representation. Instead of predicting a single depth value per pixel, the network builds a 3D volume where each "slice" represents a specific depth distance.
Key Components:
- RGB-D Feature Volume Construction: The network extracts 2D features from the RGB image and 3D features from the sparse depth. It then merges them into a 3D volume. The authors proposed a "Type C" merging strategy: it allocates image features to valid depth points in 3D space, but for "missing" depth pixels, it spreads the image feature across all depth planes to reduce ambiguity.
- 3D UNet with Pseudo-3D Convolutions: To process the volume without the massive overhead of standard 3D convolutions, the authors used "pseudo-3D" convolutions, which decompose a 3D kernel into separate spatial and depth-wise operations.
- Per-Plane Pixel Shuffle: Standard upsampling often blurs object boundaries. CostDCNet uses a "pixel shuffle" technique adapted for volumes. It rearranges feature values along the spatial dimensions to increase resolution without adding new parameters, preserving sharp edges.
- Soft Arg-max: Finally, the network uses a soft arg-max operation across the depth planes to regress a continuous, high-resolution depth map.
Experimental Results
The authors evaluated CostDCNet across four diverse benchmarks: Matterport3D (semi-dense), NYUv2 (sparse), VOID (extremely sparse), and KITTI DC (outdoor LiDAR).
Performance Highlights:
- Efficiency: CostDCNet uses only 1.8M parameters. For comparison, previous state-of-the-art (SOTA) methods often use over 19M parameters.
- Speed: It runs in ~30ms (~33 FPS) on an NVIDIA RTX 3090, achieving true real-time performance.
- Accuracy: On the Matterport3D dataset, it achieved an RMSE of 1.019m, outperforming the previous best of 1.068m.
- Robustness to Sparsity: In extreme cases on NYUv2 (using only 32 depth points), CostDCNet significantly outperformed Point-Fusion, reducing the RMSE from 0.319m to 0.258m.
Conclusion
CostDCNet demonstrates that a 3D inductive bias, implemented via cost volumes, is highly effective for single-image depth completion. By populating all depth planes for pixels with missing data, the network can use 3D convolutions to aggregate context from neighboring valid points. While currently limited by a fixed number of depth planes ($K=16$), which can affect precision in vast outdoor environments, its efficiency and accuracy make it a powerful framework for real-time spatial sensing.
Summary updated