MVSCRF: Learning Multi-View Stereo With Conditional Random Fields

Youze Xue, Jiansheng Chen, Weitao Wan, Yiqing Huang, Cheng Yu, Tianpeng Li, Jiayu BaoICCV 2019

Abstract

We present a deep-learning architecture for multi-view stereo with conditional random fields (MVSCRF). Given an arbitrary number of input images, we first use a U-shape neural network to extract deep features incorporating both global and local information, and then build a 3D cost volume for the reference camera. Unlike previous learning based methods, we explicitly constraint the smoothness of depth maps by using conditional random fields (CRFs) after the stage of cost volume regularization. The CRFs module is implemented as recurrent neural networks so that the whole pipeline can be trained end-to-end. Our results show that the proposed pipeline outperforms previous state-of-the-arts on large-scale DTU dataset. We also achieve comparable results with state-of-the-art learning based methods on outdoor Tanks and Temples dataset without fine-tuning, which demonstrates our method's generalization ability.

Introduction

Multi-View Stereo (MVS) aims to reconstruct a 3D model from a collection of 2D images. While recent deep learning models like MVSNet have advanced the field by using 3D cost volumes to regress depth, they often struggle with two key issues: capturing sufficient global context to resolve depth in texture-less or reflective areas, and enforcing the smoothness priors inherent in natural scenes. Without explicit smoothness constraints, deep MVS models often produce noisy depth maps or outliers that result in fragmented 3D point clouds.

MVSCRF addresses these challenges by integrating Conditional Random Fields (CRFs) directly into an end-to-end trainable pipeline, treating depth estimation as a multi-label classification problem refined by probabilistic logic.

Methodology

The MVSCRF architecture introduces three primary innovations to the standard MVSNet baseline:

  • U-Shape Feature Extractor: A six-scale U-Net replaces simple convolutional stacks. The down-sampling path captures a large receptive field for global context, while skip connections preserve fine-grained local details.
  • Multi-scale CRFs as RNNs: To ensure depth maps are smooth, the authors implement the "mean-field inference" of a CRF as a Recurrent Neural Network (RNN). This allows smoothness constraints to be learned alongside the rest of the network during training.
  • Simplified Distance Measurement: To maintain computational feasibility and independence from the number of depth samples ($D$), the distance measurement between depth hypotheses is simplified into a dualistic problem using two learnable scalars, preventing the memory explosion typically associated with large-scale CRFs.

Evaluation

The model was trained and evaluated on two industry-standard benchmarks:

  • DTU Dataset: An indoor dataset with 124 scenes captured under controlled laboratory conditions, providing ground truth point clouds for precise accuracy measurements.
  • Tanks and Temples: A challenging outdoor dataset featuring complex real-world environments, used to test the model's generalization ability without fine-tuning.

Results and Discussion

MVSCRF achieved an overall mean distance of 0.398 mm on the DTU dataset, outperforming the original MVSNet (0.462 mm) and R-MVSNet (0.417 mm). Qualitative analysis reveals that the model produces significantly cleaner boundaries and fewer "floating" noise points compared to previous state-of-the-art methods.

Qualitative comparison on the DTU dataset. The bottom row (MVSCRF) demonstrates sharper details and reduced noise in the reconstructed point cloud compared to the baseline (top row).

A core insight of this work is that explicitly modeling surface smoothness via CRFs allows the network to "fill in the blanks" in regions where image data is ambiguous, such as shadows or plain surfaces. By implementing the CRF as an RNN, the feature extractor learns representations specifically optimized for the smoothing logic.

Completeness comparison on the Tanks and Temples dataset. MVSCRF (bottom) successfully reconstructs the base of the statue, filling in regions where the baseline model (top) fails to find correspondence.

On the Tanks and Temples dataset, MVSCRF outperformed MVSNet on 7 out of 8 scenes. This demonstrates that the CRF-based smoothness prior is a robust physical property that transfers well across different types of scenes without requiring scene-specific fine-tuning.

Conclusion

While MVSCRF introduces some computational overhead—taking approximately 1.8s per view compared to MVSNet’s 0.9s—it significantly improves the completeness and accuracy of 3D reconstructions. The integration of global context via U-Net and local smoothness via CRFs provides a powerful framework for robust multi-view stereo. Future work may involve combining this CRF approach with more memory-efficient cost volume techniques to enable even higher-resolution 3D outputs.

Summary updated

BibTeX
@inproceedings{xue2019mvscrf,
  author = {Youze Xue and Jiansheng Chen and Weitao Wan and Yiqing Huang and Cheng Yu and Tianpeng Li and Jiayu Bao},
  title = {{MVSCRF: Learning Multi-View Stereo With Conditional Random Fields}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  url = {https://openreview.net/forum?id=Sh0YplvQZu},
}
Figure