Depth Completion Using Plane-Residual Representation

Byeong-Uk Lee, Kyunghyun Lee, In So Kweon

Abstract

The basic framework of depth completion is to predict a pixel-wise dense depth map using very sparse input data. In this paper, we try to solve this problem in a more effective way, by reformulating the regression-based depth estimation problem into a combination of depth plane classification and residual regression. Our proposed approach is to initially densify sparse depth information by figuring out which plane a pixel should lie among a number of discretized depth planes, and then calculate the final depth value by predicting the distance from the specified plane. This will help the network to lessen the burden of directly regressing the absolute depth information from none, and to effectively obtain more accurate depth prediction result with less computation power and inference time. To do so, we firstly introduce a novel way of interpreting depth information with the closest depth plane label $p$ and a residual value $r$, as we call it, Plane-Residual (PR) representation. We also propose a depth completion network utilizing PR representation consisting of a shared encoder and two decoders, where one classifies the pixel's depth plane label, while the other one regresses the normalized distance from the classified depth plane. By interpreting depth information in PR representation and using our corresponding depth completion network, we were able to acquire improved depth completion performance with faster computation, compared to previous approaches.

Introduction

Depth completion is the task of taking a sparse, "holey" depth map (like those produced by LiDAR sensors) and an accompanying RGB image to predict a dense, pixel-wise depth map. The traditional approach is direct regression, where a neural network tries to predict the exact distance for every pixel from scratch. However, regression-based models often struggle to maintain sharp edges, leading to "depth bleeding" where foreground and background depths mix. Furthermore, to fix these blurry edges, many state-of-the-art models rely on heavy backbones or iterative post-processing, which are too slow for real-time applications like autonomous driving or AR.

Plane-Residual (PR) Representation

To address these challenges, we propose the Plane-Residual (PR) Representation. Instead of predicting an absolute depth value $D$, the network predicts a pair $(p, r)$. Here, $p$ (Plane Label) is a discrete classification of which "depth plane" (out of $D$ predefined planes) the pixel is closest to, and $r$ (Residual) is a normalized value representing the small distance between the actual depth and the chosen plane.

The Plane-Residual (PR) representation concept, showing how depth is factorized into discrete planes and continuous residuals.

By first "binning" pixels into depth planes, the network simplifies the search space. Classification is naturally better at finding sharp boundaries than regression. Previous "multi-plane" methods often used weighted sums of planes, which can still blur edges. By predicting a residual on top of a classified plane, our model achieves the sharpness of classification with the precision of regression.

Network Architecture

Our proposed architecture utilizes a shared ResNet-18 encoder and two specialized decoders. Decoder $P$ outputs a probability volume for plane classification, while Decoder $R$ regresses the residual map. Features from the classification decoder are fed into the residual decoder via late feature fusion to ensure the residual learning is aware of plane boundaries.

Overview of the proposed depth completion pipeline, including the dual-decoder architecture and guided image filtering.

To further refine results, we apply a channel-wise Guided Image Filter to the plane classification logits. This uses the high-resolution RGB image to sharpen depth boundaries, ensuring planes align perfectly with object edges. We also introduce a confidence-based regression loss; if the network is uncertain about the plane classification, it adjusts the residual learning to prevent discretization artifacts, such as the "staircase" effect.

Experimental Results

The model was evaluated on two standard benchmarks: NYU Depth V2 (indoor) and KITTI Depth Completion (outdoor).

  • Speed: On the KITTI benchmark, the model achieved an inference time of 0.01 seconds (100 FPS). This is 7x to 20x faster than other top-performing models like CSPN++ or NLSPN.
  • Accuracy: On NYU Depth V2, the model outperformed much heavier networks (like DeepLiDAR) in Root Mean Squared Error (RMSE) while using only a fraction of the parameters (~14M vs ~53M).
  • Qualitative Quality: Visual results show significantly sharper edges around complex objects, such as chair legs and bookshelves, where traditional regression methods usually fail.

Conclusion

By factorizing depth completion into classification and residual regression, the PR representation allows for high-accuracy depth maps with significantly lower computational overhead. While the number of planes currently requires manual tuning, the efficiency and boundary-preserving qualities of this approach make it highly suitable for real-time 3D perception tasks.

Summary updated

BibTeX
@inproceedings{lee2021depth,
  author = {Byeong-Uk Lee and Kyunghyun Lee and In So Kweon},
  title = {{Depth Completion Using Plane-Residual Representation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  url = {https://openreview.net/forum?id=8axW8SJrqj-},
}
Figure