SD-MVS: Segmentation-Driven Deformation Multi-View Stereo with Spherical Refinement and EM Optimization

Zhenlong Yuan, Jiakai Cao, Zhaoxin Li, Hao Jiang, Zhaoqi Wang

Abstract

Multi-View Stereo (MVS) reconstruction often struggles with textureless surfaces and depth discontinuities, where traditional patch-based matching algorithms fail to find reliable correspondences. We present SD-MVS, a novel framework that integrates the Segment Anything Model (SAM) into the MVS pipeline. By utilizing semantic boundaries to guide patch deformation and employing a spherical refinement strategy alongside Expectation-Maximization (EM) for hyperparameter optimization, SD-MVS achieves state-of-the-art accuracy on the ETH3D benchmark. Notably, the system maintains high efficiency, operating at twice the speed of existing top-tier methods.

Introduction

Multi-View Stereo (MVS) is a fundamental computer vision task that aims to reconstruct 3D point clouds from a collection of 2D images. Most modern MVS frameworks rely on the "PatchMatch" paradigm, which estimates depth by searching for similar pixel neighborhoods across different camera views. Despite significant progress, two primary challenges persist: the presence of textureless areas and the occurrence of depth discontinuities.

In textureless regions, such as flat white walls or monochromatic floors, local patches lack distinctive features, causing traditional algorithms to produce noisy or incomplete data. Furthermore, at object boundaries, standard square patches often overlap multiple depth layers, leading to "bleeding" artifacts or blurred edges in the final 3D model. While previous methods attempted to use edge detection or superpixels to mitigate these issues, they frequently fail under complex lighting or shadow conditions. SD-MVS addresses these limitations by leveraging semantic segmentation and advanced optimization techniques.

Methodology

SD-MVS introduces four key innovations to the MVS pipeline: SAM-driven patch deformation, spherical gradient refinement, EM-based hyperparameter optimization, and a parallel multi-scale architecture.

SAM-Driven Patch Deformation

The core innovation of SD-MVS is the integration of the Segment Anything Model (SAM) to guide the reconstruction process. Unlike traditional edge detectors that focus on local intensity gradients, SAM provides a semantic understanding of object boundaries. SD-MVS uses these semantic masks to deform search patches so they remain strictly within the boundaries of a single object. This ensures that the pixels used for depth calculation belong to the same semantic instance, significantly improving reconstruction accuracy at object edges and preventing depth leakage.

Spherical Gradient Refinement

Refining surface normals is traditionally performed in 3D Cartesian coordinates ($x, y, z$), which can lead to numerical instability. SD-MVS treats the surface normal as a point on a unit sphere. By utilizing spherical coordinates and gradient descent to "slide" the normal toward its optimal orientation, the framework achieves more stable and precise surface estimations compared to Cartesian-based refinement.

EM-based Hyperparameter Optimization

MVS algorithms typically rely on manually tuned weights for various cost functions, which may not generalize well across different scenes. SD-MVS incorporates the Expectation-Maximization (EM) algorithm to automatically optimize these hyperparameters for each specific environment. This data-driven approach enhances the robustness of the system across diverse indoor and outdoor scenarios.

Parallel Multi-Scale Architecture

To improve computational efficiency, SD-MVS departs from the standard sequential "coarse-to-fine" cascading architecture. Instead, it processes different image resolutions in parallel using a "mipmap" style architecture. This design reduces the overhead of data transfer between the CPU and GPU and allows for more efficient load balancing during the patch deformation stage.

Experimental Results

The authors evaluated SD-MVS on the ETH3D and Tanks and Temples (TNT) benchmarks, which are industry standards for high-resolution and large-scale MVS evaluation.

Accuracy and Performance

On the ETH3D benchmark, SD-MVS achieved a state-of-the-art $F_1$ score of 88.06% on the test set, outperforming established methods such as ACMMP and PatchMatchNet. Qualitative analysis indicates that SD-MVS produces significantly cleaner reconstructions of flat surfaces and sharp corners, areas where previous methods typically generated jagged artifacts.

Efficiency

Despite the inclusion of SAM for preprocessing, the overall SD-MVS pipeline is highly optimized. It runs approximately twice as fast as its closest competitor, APD-MVS. The memory footprint is also optimized for modern hardware, fitting within the 24GB VRAM capacity of mainstream GPUs like the NVIDIA RTX 3090 or 4090.

Discussion and Conclusion

SD-MVS demonstrates that semantic segmentation is a more reliable anchor for 3D reconstruction than simple color gradients. By forcing patches to respect semantic boundaries, the model overcomes the traditional pitfalls of textureless regions and depth discontinuities. Furthermore, the introduction of spherical refinement and EM optimization provides a more robust mathematical foundation for surface estimation.

While SD-MVS sets a new benchmark for performance, future work will focus on improving view selection strategies in highly occluded scenes and refining matching costs for surfaces with strong specular reflections, such as glass or polished metal. Nonetheless, SD-MVS represents a significant advancement in the pursuit of high-fidelity, efficient 3D reconstruction.

Summary updated

BibTeX
@inproceedings{yuan2024sd,
  author = {Zhenlong Yuan and Jiakai Cao and Zhaoxin Li and Hao Jiang and Zhaoqi Wang},
  title = {{SD-MVS: Segmentation-Driven Deformation Multi-View Stereo with Spherical Refinement and EM Optimization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i7.28512},
}
Figure