View-Graph Selection Framework for SfM

Rajvi Shah, Visesh Chari, P. J. Narayanan

Introduction

Structure from Motion (SfM) is a cornerstone of 3D computer vision, transforming collections of 2D images into detailed 3D models. At the heart of this process lies the "view-graph," where nodes represent individual images and edges represent the geometric relationships between them. However, real-world datasets—particularly those sourced from the internet—present significant challenges: extreme redundancy and geometric ambiguity.

Redundant data leads to wasted computation, while repetitive architectural elements (like windows or arches) can confuse standard SfM pipelines, resulting in "ghosting" artifacts or incorrect model folding. This paper introduces a unified optimization framework that performs "view-graph selection" as a pre-processing step to ensure both efficiency and accuracy.

Overview of the View-Graph Selection Framework, illustrating the transition from a redundant input graph to an optimized reconstruction via MCNF optimization.

Methodology: MCNF-based Optimization

The proposed framework formulates view-graph selection as a Minimum Cost Network Flow (MCNF) problem. By treating the selection of images and pairs as a flow optimization, the authors can prune redundant data and resolve ambiguities before the computationally intensive reconstruction begins.

While the underlying selection problem is typically NP-complete, the MCNF formulation allows for a solution in polynomial time. This makes the framework exceptionally fast, capable of processing large-scale graphs in under a second. The optimization objective is to minimize the total cost of selecting a subset of images and pairs, subject to connectivity constraints.

The transformation of a view-graph into a flow network with source (SRC) and sink (SNK) nodes, including edge types and capacity constraints.

Cost Modeling and Priors

The framework is designed to be modular, allowing for various "pluggable" cost models based on the specific reconstruction goal:

  • Efficiency Priors: Utilizes standard SfM metrics such as the number of inlier matches, triangulation angles, and local clustering coefficients to ensure a high-quality, well-distributed graph.
  • Ambiguity Priors: Introduces a "Context Similarity" prior. By examining the broader context surrounding repetitive local features, the system can disambiguate identical-looking structures that belong to different parts of a scene.

Experimental Results

The framework was evaluated on a range of datasets, from small-scale ambiguous scenes to large-scale urban landmarks like the Arc de Triomphe and internet-scale collections like Notre Dame.

Key Findings

  • Speed: The MCNF solver is remarkably efficient, taking less than 1 second for graphs with 1,000 nodes and 100,000 edges—orders of magnitude faster than previous disambiguation techniques.
  • Accuracy: In scenes where standard SfM pipelines (e.g., COLMAP) fail due to symmetry or repetition, this framework consistently recovers the correct 3D structure.
  • Efficiency: For large internet datasets, the method successfully selected only 20-40% of the edges while maintaining or even improving the final reconstruction quality.

Discussion and Future Work

A key insight from the research is the discovery of a consistent logarithmic relationship between the total flow in the network and the density of the selected graph. This property allows for efficient parameter tuning via binary search. By moving selection into a pre-processing stage, the authors effectively decouple dataset-specific challenges from the core SfM pipeline.

Despite its strengths, the framework currently relies on hand-tuned weights for combining different cost priors. Future work may involve learning-based approaches to automate this weighting. Additionally, the method can struggle with pure camera translation along repetitive patterns, which remains a challenging edge case for disambiguation.

Summary updated

BibTeX
@inproceedings{shah2018view,
  author = {Rajvi Shah and Visesh Chari and P. J. Narayanan},
  title = {{View-Graph Selection Framework for SfM}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01228-1\_33},
}
Figure