A Unified View-Graph Selection Framework for Structure from Motion

Rajvi Shah, Visesh Chari, P. J. NarayananarXiv 2017

Introduction

Structure from Motion (SfM) is a cornerstone of computer vision, enabling the reconstruction of 3D models from 2D image collections. Central to this process is the "view-graph," a mathematical representation where nodes denote images and edges represent the geometric relationships (epipolar geometries) between them. However, real-world datasets—particularly those sourced from the internet—introduce significant challenges: massive redundancy from popular viewpoints and structural ambiguities from repetitive architectural features.

This paper proposes a unified framework that treats view-graph selection as a pre-processing optimization problem. By formulating subgraph selection as a Minimum Cost Network Flow (MCNF) problem, the authors provide a flexible, efficient method to prune graphs for both accuracy and computational speed.

Overview of the proposed view-graph selection framework, showing the transition from an input graph to an optimized reconstruction.

The Challenges of Raw View-Graphs

Standard SfM pipelines often struggle with two primary issues:

  1. Redundancy: Internet photo collections of landmarks are often biased toward specific angles. Processing every overlapping pair is computationally wasteful.
  2. Ambiguity: Man-made structures frequently feature repetitive elements (e.g., windows, arches) or identical twin structures. These lead to false-positive matches in the view-graph, causing "ghosting" errors where the final 3D model incorrectly folds or duplicates structures.

Historically, these issues were addressed with rigid heuristics or specialized, task-specific algorithms. The proposed framework replaces these fragmented approaches with a single optimization step.

Methodology: Minimum Cost Network Flow

The core innovation lies in abstracting the selection of images and edges into a standalone optimization problem. While selecting an optimal subgraph is generally NP-complete (Binary Integer Linear Programming), the authors reduce it to a Minimum Cost Network Flow (MCNF) problem.

The network formulation used to reduce the view-graph selection problem to a solvable flow optimization.

In this formulation, a specific amount of "flow" is routed through a network representing images and their pairs. This reduction ensures that a binary selection solution can be found in polynomial time. The behavior of the framework is "plug-and-play," determined by the cost functions assigned to the network edges:

  • For Efficiency: Costs are derived from standard SfM heuristics like inlier counts and triangulation angles.
  • For Disambiguation: The authors introduce a Context Similarity prior. This looks at the distribution of unmatched features to distinguish between identical-looking but physically distinct structures.

Key Insights and Results

A significant finding is the Logarithmic Flow Control: the relationship between the total flow parameter and the fraction of selected edges is logarithmic. This allows for rapid binary searches to achieve a target graph size.

The framework demonstrates exceptional performance:

  • Speed: The MCNF solver processes graphs with 1,000 nodes and 100,000 edges in just 1–2 seconds.
  • Accuracy: It successfully resolves "ghosting" in highly ambiguous datasets (e.g., Temple of Heaven) where standard SfM fails.
  • Efficiency: On large landmark datasets like Notre Dame, the framework pruned over 60% of redundant edges without sacrificing reconstruction accuracy, significantly reducing downstream compute time.

Conclusion

By decoupling view-graph selection from the core SfM pipeline, this framework provides a mathematically rigorous and highly adaptable pre-processing tool. Future work aims to replace hand-designed cost functions with machine learning models to automatically optimize weights for diverse reconstruction goals.

Summary updated

BibTeX
@misc{shah2017unified,
  author = {Rajvi Shah and Visesh Chari and P. J. Narayanan},
  title = {{A Unified View-Graph Selection Framework for Structure from Motion}},
  year = {2017},
  eprint = {1708.01125},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1708.01125},
}
Figure