PatchMatch Based Joint View Selection and Depthmap Estimation

Enliang Zheng, Enrique Dunn, Vladimir Jojic, Jan-Michael FrahmCVPR 2014

Abstract

Multi-view depthmap estimation (MVDE) from unstructured image collections presents significant challenges due to occlusions, outliers, and computational complexity. This paper proposes a robust framework that jointly addresses view selection and depth estimation within a probabilistic graphical model. By integrating an Expectation-Maximization (EM) inference scheme with the efficiency of PatchMatch, the method achieves state-of-the-art accuracy while maintaining linear scalability. The approach is particularly effective for large-scale "crowd-sourced" datasets, demonstrating exceptional robustness against calibration errors and scene symmetries.

Introduction

The goal of multi-view depthmap estimation (MVDE) is to reconstruct the 3D geometry of a scene by computing depth values for a reference image using information from multiple source images. While increasing the number of source images theoretically improves accuracy, real-world datasets—especially those sourced from the internet—introduce noise through occlusions, transient objects, and poor camera calibration. The fundamental challenge lies in data association: identifying which subset of source images provides a reliable view for each specific pixel in the reference image.

Methodology

The authors formulate MVDE as a joint inference problem over a Hidden Markov Chain. Each pixel is associated with a set of hidden binary variables indicating whether a particular source image is an "inlier" (selected) or an "outlier" (not selected).

Overview of the joint view selection and depthmap estimation pipeline.

The model is solved using an Expectation-Maximization (EM) algorithm:

  1. E-Step (View Selection): A forward-backward algorithm infers the selection probability for each source image based on photoconsistency (Normalized Cross Correlation). This step leverages the spatial smoothness of selection—the idea that if an image is a good match for one pixel, it likely matches its neighbors.
  2. M-Step (Depth Estimation): The depth map is updated using a PatchMatch-inspired approach. Random depth hypotheses are sampled and successful ones are propagated from neighboring pixels. Crucially, these updates are weighted by the selection probabilities derived in the E-step, ensuring that only reliable views influence the depth estimate.
Spatial propagation patterns used in the PatchMatch-based M-step.

Scalability and Robustness

To handle datasets containing hundreds of images, the framework employs a Monte Carlo sampling strategy. Instead of evaluating all source images for every calculation, the algorithm samples a small subset (typically 15) based on current selection probabilities. This keeps the computational complexity linear ($O(N)$) relative to the total number of images, allowing the system to process massive collections where previous probabilistic methods failed.

The joint nature of the inference provides unique robustness. For instance, in scenes with architectural symmetry (e.g., cathedrals), standard Structure-from-Motion (SfM) often incorrectly places cameras on the opposite side of the building. This method's pixel-level selection effectively treats these "wrong-side" images as outliers, preventing them from corrupting the depth estimation.

Results and Conclusion

Evaluated on the Strecha benchmarks, the method achieves accuracy comparable to specialized fusion techniques while producing high-quality depth maps directly. On large-scale Internet Photo Collections (IPC), such as the Berlin Cathedral (500 images), the system demonstrates high efficiency, averaging under 100 seconds per image on a single GPU. By combining probabilistic rigor with the speed of PatchMatch, this work provides a practical and scalable solution for 3D reconstruction from unorganized web data.

Summary updated

BibTeX
@inproceedings{zheng2014patchmatch,
  author = {Enliang Zheng and Enrique Dunn and Vladimir Jojic and Jan-Michael Frahm},
  title = {{PatchMatch Based Joint View Selection and Depthmap Estimation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2014},
  doi = {10.1109/cvpr.2014.196},
}
Figure