Structure-From-Motion Revisited

Structure-From-Motion Revisited

Structure-from-Motion Revisited Johannes L. Schonberger¨ 1;2∗, Jan-Michael Frahm1 1University of North Carolina at Chapel Hill 2Eidgenossische¨ Technische Hochschule Zurich¨ [email protected], [email protected] Abstract Incremental Structure-from-Motion is a prevalent strat- egy for 3D reconstruction from unordered image collec- tions. While incremental reconstruction systems have tremendously advanced in all regards, robustness, accu- racy, completeness, and scalability remain the key problems Figure 1. Result of Rome with 21K registered out of 75K images. towards building a truly general-purpose pipeline. We pro- pose a new SfM technique that improves upon the state of the art to make a further step towards this ultimate goal. 2. Review of Structure-from-Motion The full reconstruction pipeline is released to the public as an open-source implementation. SfM is the process of reconstructing 3D structure from its projections into a series of images taken from different viewpoints. Incremental SfM (denoted as SfM in this paper) 1. Introduction is a sequential processing pipeline with an iterative recon- struction component (Fig.2). It commonly starts with fea- Structure-from-Motion (SfM) from unordered images ture extraction and matching, followed by geometric verifi- has seen tremendous evolution over the years. The early cation. The resulting scene graph serves as the foundation self-calibrating metric reconstruction systems [42,6, 19, for the reconstruction stage, which seeds the model with 16, 46] served as the foundation for the first systems on a carefully selected two-view reconstruction, before incre- unordered Internet photo collections [48, 53] and urban mentally registering new images, triangulating scene points, scenes [45]. Inspired by these works, increasingly large- filtering outliers, and refining the reconstruction using bun- scale reconstruction systems have been developed for hun- dle adjustment (BA). The following sections elaborate on dreds of thousands [1] and millions [20, 62, 51, 47] to re- this process, define the notation used throughout the paper, cently a hundred million Internet photos [30]. A variety and introduce related work. of SfM strategies have been proposed including incremen- tal [53,1, 20, 62], hierarchical [23], and global approaches 2.1. Correspondence Search [14, 61, 56]. Arguably, incremental SfM is the most popular The first stage is correspondence search which finds strategy for reconstruction of unordered photo collections. scene overlap in the input images I = fIi j i = 1:::NI g Despite its widespread use, we still have not accomplished and identifies projections of the same points in overlapping to design a truly general-purpose SfM system. While the images. The output is a set of geometrically verified image existing systems have advanced the state of the art tremen- pairs C¯ and a graph of image projections for each point. dously, robustness, accuracy, completeness, and scalability Feature Extraction. For each image Ii, SfM detects sets remain the key problems in incremental SfM that prevent its Fi = f(xj; fj) j j = 1:::NFi g of local features at loca- use as a general-purpose method. In this paper, we propose 2 tion xj 2 R represented by an appearance descriptor fj. a new SfM algorithm to approach this ultimate goal. The The features should be invariant under radiometric and ge- new method is evaluated on a variety of challenging datasets ometric changes so that SfM can uniquely recognize them and the code is contributed to the research community as an in multiple images [41]. SIFT [39], its derivatives [59], and open-source implementation named COLMAP available at more recently learned features [9] are the gold standard in https://github.com/colmap/colmap . terms of robustness. Alternatively, binary features provide ∗This work was done at the University of North Carolina at Chapel Hill. better efficiency at the cost of reduced robustness [29]. Images Correspondence Search Incremental Reconstruction Reconstruction selected two-view reconstruction [7, 52]. Choosing a suit- Feature Extraction Initialization able initial pair is critical, since the reconstruction may Matching Image Registration Outlier Filtering never recover from a bad initialization. Moreover, the ro- Geometric Verification Triangulation Bundle Adjustment bustness, accuracy, and performance of the reconstruction Figure 2. Incremental Structure-from-Motion pipeline. depends on the seed location of the incremental process. Initializing from a dense location in the image graph with Matching. Next, SfM discovers images that see the same many overlapping cameras typically results in a more robust scene part by leveraging the features Fi as an appearance and accurate reconstruction due to increased redundancy. In description of the images. The na¨ıve approach tests every contrast, initializing from a sparser location results in lower image pair for scene overlap; it searches for feature cor- runtimes, since BAs deal with overall sparser problems ac- respondences by finding the most similar feature in image cumulated over the reconstruction process. Ia for every feature in image Ib, using a similarity met- Image Registration. Starting from a metric reconstruc- ric comparing the appearance fj of the features. This ap- tion, new images can be registered to the current model by proach has computational complexity O(N 2N 2 ) and is I Fi solving the Perspective-n-Point (PnP) problem [18] using prohibitive for large image collections. A variety of ap- feature correspondences to triangulated points in already proaches tackle the problem of scalable and efficient match- registered images (2D-3D correspondences). The PnP prob- ing [1, 20, 37, 62, 28, 50, 30]. The output is a set of poten- lem involves estimating the pose Pc and, for uncalibrated tially overlapping image pairs C = ffIa;Ibg j Ia;Ib 2 cameras, its intrinsic parameters. The set P is thus ex- I; a < bg and their associated feature correspondences tended by the pose Pc of the newly registered image. Since Mab 2 Fa × Fb. the 2D-3D correspondences are often outlier-contaminated, Geometric Verification. The third stage verifies the po- the pose for calibrated cameras is usually estimated using tentially overlapping image pairs C. Since matching is RANSAC and a minimal pose solver, e.g.[22, 34]. For un- based solely on appearance, it is not guaranteed that cor- calibrated cameras, various minimal solvers, e.g.[10], or responding features actually map to the same scene point. sampling-based approaches, e.g.[31], exist. We propose a Therefore, SfM verifies the matches by trying to estimate a novel robust next best image selection method for accurate transformation that maps feature points between images us- pose estimation and reliable triangulation in Sec. 4.2. ing projective geometry. Depending on the spatial config- Triangulation. A newly registered image must observe uration of an image pair, different mappings describe their existing scene points. In addition, it may also increase scene geometric relation. A homography H describes the trans- coverage by extending the set of points X through triangu- formation of a purely rotating or a moving camera capturing lation. A new scene point Xk can be triangulated and added a planar scene [26]. Epipolar geometry [26] describes the to X as soon as at least one more image, also covering the relation for a moving camera through the essential matrix new scene part but from a different viewpoint, is registered. E (calibrated) or the fundamental matrix F (uncalibrated), Triangulation is a crucial step in SfM, as it increases the sta- and can be extended to three views using the trifocal ten- bility of the existing model through redundancy [58] and it sor [26]. If a valid transformation maps a sufficient number enables registration of new images by providing additional of features between the images, they are considered geo- 2D-3D correspondences. A large number of methods for metrically verified. Since the correspondences from match- multi-view triangulation exist [27,5, 25, 35, 40,3, 44, 32]. ing are often outlier-contaminated, robust estimation tech- These methods suffer from limited robustness or high com- niques, such as RANSAC [18], are required. The output putational cost for use in SfM, which we address by propos- of this stage is a set of geometrically verified image pairs C¯, ing a robust and efficient triangulation method in Sec. 4.3. ¯ their associated inlier correspondences Mab, and optionally Bundle Adjustment. Image registration and triangula- a description of their geometric relation Gab. To decide on tion are separate procedures, even though their products are the appropriate relation, decision criterions like GRIC [57] highly correlated – uncertainties in the camera pose propa- or methods like QDEGSAC [21] can be used. The output gate to triangulated points and vice versa, and additional tri- of this stage is a so-called scene graph [54, 37, 49, 30] with angulations may improve the initial camera pose through in- images as nodes and verified pairs of images as edges. creased redundancy. Without further refinement, SfM usu- 2.2. Incremental Reconstruction ally drifts quickly to a non-recoverable state. BA [58] is the joint non-linear refinement of camera parameters Pc and The input to the reconstruction stage is the scene graph. point parameters Xk that minimizes the reprojection error The outputs are pose estimates P = fPc 2 SE(3) j c = X 2 1:::NP g for registered images and the reconstructed scene E = ρj kπ (Pc; Xk) − xjk2 (1) 3 j

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    10 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us