Deep Depth Prior for Multi-View Stereo

Pallabi Ghosh, Vibhav Vineet, Larry S. Davis, Abhinav Shrivastava, Sudipta N. Sinha, Neel JoshiarXiv 2020

TL;DR

This paper introduces the Deep Depth Prior (DDP), a novel method for refining and completing noisy, incomplete depth maps by leveraging the inherent structural bias of convolutional neural networks (CNNs). By optimizing a randomly initialized network at test time using a combination of depth reconstruction, RGB edge-preservation, and multi-view photoconsistency losses, the authors achieve high-quality 3D reconstructions without the need for massive pre-trained datasets.

What Problem Does This Paper Address?

Estimating scene depth is a fundamental task in computer vision, yet standard methods—whether binocular stereo, multi-view stereo (MVS), or active sensors like LIDAR—frequently produce results plagued by noise and "holes" (missing data).

Traditional solutions rely on handcrafted priors (like simple smoothness constraints) which often fail in complex scenes. Conversely, modern supervised learning approaches require vast amounts of ground-truth data and often struggle to generalize when faced with "out-of-distribution" data (scenes different from their training set). The authors seek a middle ground: a generalizable, training-free regularizer that can "fill in the blanks" accurately by understanding the natural structure of images and the geometric constraints of multiple viewpoints.

Methods

The core idea is an extension of the Deep Image Prior (DIP). DIP posits that the architecture of an encoder-decoder CNN itself acts as a powerful prior that favors natural, noise-free signals over random noise.

DDP applies this to depth by optimizing a randomly initialized UNet for every specific test image. The process involves three key loss components:

  1. Disparity-based Loss ($L_{disp}$): A combination of L1 and SSIM losses that encourages the network's output to match the available (but noisy/incomplete) input depth. The authors use inverted depth (disparity) to prevent far-away objects from dominating the error calculation.
  2. RGB-based Loss ($L_{RGB}$): By feeding the color image into the network, the model learns to leverage color edges to guide depth boundaries. This prevents the "blurring" of depth across object edges where data might be missing.
  3. Warping-based Loss ($L_{warp}$): This is the "view-constrained" part. The predicted depth is used to warp neighboring camera views into the current reference view. If the depth is correct, the warped image should match the reference color image (photoconsistency).
Overview of the DDP system, showing how noise and input depth are processed through an encoder-decoder network constrained by multiple losses.

Datasets

The authors evaluated DDP across a diverse range of environments to prove its generalization capabilities:

  • Tanks and Temples (TnT): A benchmark for large-scale multi-view reconstruction.
  • KITTI Stereo Benchmark (2015): Outdoor driving scenes used to test stereo matching.
  • NYU Depth V2: Indoor scenes captured with Kinect sensors, used for hole-filling experiments.
  • Middlebury Dataset: A classic stereo benchmark for quantitative depth completion.
  • Custom Video Sequences: Hand-held captures (e.g., "Guitar," "Shed," "Van") to test real-world robustness.

Key Insights and Ideas

  • Architecture as a Regularizer: The most striking "aha moment" is that you don't need to train on millions of images to understand what a "good" depth map looks like. The mathematical structure of a UNet naturally resists noise and favors the smooth-yet-sharp transitions found in real-world geometry.
  • The Power of RGB Guidance: Using just depth data to fill holes often leads to bleeding across boundaries. Incorporating the RGB image allows the network to "see" where one object ends and another begins, leading to much crisper results.
Figure 3. (a) Input depth map with holes (b) DDP on just depth maps and (c) DDP on RGBD images. In the black box regions in (b), DDP is filling up the holes in the sky or background based on the depth from the house or radio because it has no edge informa- tion. RGBD input provides this edge information in (c).
  • Test-Time Optimization: Unlike standard deep learning, DDP is "zero-shot." It adapts to the specific statistics of the scene at hand, making it inherently more robust to new environments than pre-trained models.

Key Results

  • Multi-View Stereo: On the Tanks and Temples dataset, DDP improved F-scores over the standard Semi-Global Matching (SGM) baseline, particularly when fewer input images were available (increasing the relative gain).
  • Stereo Refinement: When applied to the ELAS stereo algorithm on KITTI, DDP reduced the "D1-all" error by 8.4%.
  • Depth Completion: On the Middlebury dataset, DDP achieved an average RMSE of 0.46, outperforming several specialized depth completion techniques including Depthcomp.
  • Qualitative Quality: The resulting 3D point clouds are significantly denser and more complete, successfully filling large occluded regions (like the area behind a pillow or reflective surfaces on a car).

Limitations and Future Work

The primary drawback of DDP is computational speed. Because the network must be optimized from scratch for every new depth map—often requiring thousands of iterations—it is currently too slow for real-time applications.

The authors suggest that future work should focus on creating more efficient versions of this approach to enable real-time depth enhancement for 3D reconstruction pipelines. Additionally, a deeper theoretical understanding of why these priors converge so effectively for depth (vs. color images) remains an open research question.

Summary updated

BibTeX
@misc{ghosh2020deep,
  author = {Pallabi Ghosh and Vibhav Vineet and Larry S. Davis and Abhinav Shrivastava and Sudipta N. Sinha and Neel Joshi},
  title = {{Deep Depth Prior for Multi-View Stereo}},
  year = {2020},
  eprint = {2001.07791},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.07791},
}
Figure