Home » Multi-View Stereo Reconstruction
3D Reconstruction · Depth Estimation · Graph Cuts | Python · PyGMO · PyMaxflow
This project presents a depth map-based multi-view stereo (MVS) pipeline for reconstructing dense 3D geometry from calibrated images. The key idea is to refine depth maps for all pixels in an image simultaneously using a graph-cuts formulation, enabling global reasoning in low-texture regions where local methods often fail.
Published in IEEE Signal Processing Letters, 2022.
https://doi.org/10.1109/LSP.2022.3201778
Code: https://github.com/nirmalsnair/mvs-graphcuts
Multi-view stereo is fundamentally an ill-posed inverse problem: the system must recover 3D structure from a set of 2D calibrated views. In practice, depth estimation becomes especially difficult in homogeneous or weakly textured regions, where photo-consistency alone does not provide a strong enough signal to infer the correct depth.
We address this by combining coarse global depth search with graph cuts-based depth refinement. Instead of optimizing only a subset of pixels, the method refines depths for the entire image jointly, allowing smoothness priors and global information to guide ambiguous regions while preserving discontinuities at object boundaries.

The pipeline follows a coarse-to-fine strategy, combining global search with graph-based optimization.

Graph structure for depth refinement of a 4×2 image with depth-levels d = 5 and vertices offset to account for different initial depths. The source partition S and sink partition T are denoted by blue and red nodes, respectively. The s−t cut edges are denoted by dashed lines.
This design makes it possible to use global information during refinement without incurring the full cost of unconstrained high-dimensional optimization.
The method was evaluated on standard indoor and outdoor datasets:
Key observations:

Input images, graph cut-refined depth maps, and reconstructed 3D model for the DTU Skull dataset.
Nirmal S. Nair and Madhu S. Nair, "Multi-View Stereo Using Graph Cuts-Based Depth Refinement," IEEE Signal Processing Letters, vol. 29, pp. 1903-1907, 2022.
This work shows how graph cut optimization can be applied to dense multi-view stereo refinement, enabling practical global optimization and improving reconstruction quality in ambiguous regions.