Practical Projective Structure from Motion (P2SfM)

Ludovic Magerand, Alessio Del BueICCV 2017

Abstract

This paper presents a solution to the Projective Structure from Motion (PSfM) problem able to deal efficiently with missing data, outliers and, for the first time, large scale 3D reconstruction scenarios. By embedding the projective depths into the projective parameters of the points and views, we decrease the number of unknowns to estimate and improve computational speed by optimizing standard linear Least Squares systems instead of homogeneous ones. In order to do so, we show that an extension of the linear constraints from the Generalized Projective Reconstruction Theorem can be transferred to the projective parameters, ensuring also a valid projective reconstruction in the process. We use an incremental approach that, starting from a solvable sub-problem, incrementally adds views and points until completion with a robust, outliers free, procedure. Experiments with simulated data shows that our approach is performing well, both in term of the quality of the reconstruction and the capacity to handle missing data and outliers with a reduced computational time. Finally, results on real datasets shows the ability of the method to be used in medium and large scale 3D reconstruction scenarios with high ratios of missing data (up to 98%).

Introduction

Structure from Motion (SfM) is a fundamental computer vision task involving the estimation of 3D structures and camera poses from 2D image sequences. While Affine SfM is mathematically simpler, it is often insufficient for large-scale scenes or close-up photography. Projective SfM (PSfM) offers a more realistic model but introduces significant complexity due to unknown "projective depths" for every 2D observation.

Historically, PSfM has been plagued by non-linearity, missing data (occlusions), outliers (incorrect matches), and poor scalability. Most existing factorization methods require the entire data matrix to be present in memory, limiting their use in large-scale scenarios. P2SfM addresses these challenges by transforming the problem into a series of efficient linear least squares systems, allowing for the reconstruction of large-scale scenes with up to 98% missing data.

Methodology

The core innovation of P2SfM is a compact re-parameterization that eliminates projective depths as independent unknowns. By embedding these depths into the projective parameters of points and views, the authors reduce the number of variables and simplify the optimization landscape.

Linear Constraints and Incremental Pipeline

The method extends the Generalized Projective Reconstruction Theorem (GPRT) to derive new linear constraints. This allows point and camera parameters to be solved using standard Linear Least Squares ($Bz = b$) rather than more complex homogeneous or non-linear solvers. To handle the "Swiss cheese" nature of real-world measurement matrices—where most data is missing—the authors employ an incremental approach.

Algorithm 1: The P2SfM incremental pipeline.

As shown in Algorithm 1, the process begins with a small, solvable sub-problem and incrementally adds views and points. This pipeline is wrapped in a Locally Optimized RANSAC (LO-RANSAC) loop, enabling the system to identify and discard outliers dynamically as the reconstruction grows.

Experiments and Results

The authors evaluated P2SfM on synthetic data with varying noise levels and several real-world datasets, ranging from small-scale benchmarks like the Dinosaur sequence to massive scenes such as the Alcatraz West Side (138k points, 435 views).

The final reconstruction matrix showing inliers and the method's ability to handle high ratios of missing data.

Key Performance Metrics

  • Scalability: P2SfM successfully reconstructed the Alcatraz West Side dataset—a matrix with ~120 million entries—in just 47 minutes. Previous PSfM methods typically crashed due to memory limits or timed out.
  • Efficiency: On the Dinosaur sequence, P2SfM was approximately 50x faster than state-of-the-art alternatives like VarPro (27 seconds vs. 1428 seconds).
  • Robustness: The algorithm maintains high accuracy even with 98% missing data, a scenario where most other PSfM algorithms fail to initialize.

Discussion and Insights

A key takeaway is that factorization does not need to be a global, all-at-once process. An incremental approach is far more effective for the sparse matrices typical of real-world vision. Furthermore, by ensuring linearity, the method leverages optimized numerical solvers and robust estimation techniques. To avoid degenerate solutions, such as the "cross-shaped" null matrix, the authors enforce a specific "step-like" tiling of constraints (the "Tetris" constraint), ensuring the reconstruction remains valid as it grows.

Limitations and Future Work

The current output is a projective reconstruction. A "metric upgrade" (autocalibration) is required to produce models with realistic Euclidean proportions. Additionally, while the incremental approach is robust, the authors suggest that integrating a global non-linear refinement (Projective Bundle Adjustment) at the end could further improve precision. For even larger scenes, a hierarchical "divide and conquer" framework is proposed.

Conclusion

P2SfM represents a significant step forward in making projective 3D reconstruction practical for large-scale applications. Its combination of linear parameterization, incremental processing, and robust outlier handling allows it to tackle datasets previously considered unreachable for factorization-based SfM.

Summary updated

BibTeX
@inproceedings{magerand2017practical,
  author = {Ludovic Magerand and Alessio Del Bue},
  title = {{Practical Projective Structure from Motion (P2SfM)}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  url = {https://openreview.net/forum?id=r1EjjlG_-H},
}
Figure