---
id: "structure-from-motion-colmap"
title: "Structure-from-Motion (COLMAP)"
aliases: [SfM, COLMAP, incremental SfM]
domain: "capture"
stage: "capture"
realtime: "offline"
platforms: [cuda, cpu]
year_introduced: 2016
inputs: [photos]
outputs: [camera-poses, point-cloud]
style: "photoreal"
dynamic: "static"
cost: "offline"
authority: "Schonberger & Frahm, 2016"
url: "https://texelatlas.vercel.app/t/structure-from-motion-colmap/"
sources_verified_at: "2026-11-29"
---
# Structure-from-Motion (COLMAP) (Schonberger & Frahm, 2016)

> Recovers camera poses, intrinsics and a sparse 3D point cloud from an unordered photo set by matching features and incrementally registering images with bundle adjustment.

## Reach for it when

- recover camera positions from a photo collection
- need sparse 3d point cloud from unordered images
- photogrammetry pipeline starting point
- prepare camera poses for nerf or splat training

## How it works

Local features (SIFT by default) are extracted per image and matched between candidate pairs, then geometrically verified with fundamental or essential matrix estimation to build a scene graph. Incremental SfM seeds a reconstruction from a well-conditioned image pair, triangulates points, and repeatedly registers the next best image with PnP. After each registration it triangulates new points and runs local, and periodically global, bundle adjustment, refining poses, intrinsics and points together by minimising reprojection error. Outlier tracks are filtered and drift is limited by re-triangulation and loop-closure-like track merging. The output is a sparse model plus calibrated cameras, which is exactly the input that NeRF and Gaussian splatting pipelines expect. Dense geometry needs a separate multi-view stereo step.

## When to use it

Choose it as the default pose-estimation front end for any radiance-field or splat capture from ordinary photos or video frames. Prefer [DUSt3R](https://texelatlas.vercel.app/t/dust3r.md) or [VGGT (Visual Geometry Grounded Transformer)](https://texelatlas.vercel.app/t/vggt.md) when you have very few views, little texture, or need poses in seconds rather than minutes. Prefer [Multi-View Stereo (PatchMatch, COLMAP)](https://texelatlas.vercel.app/t/multi-view-stereo-patchmatch.md) after it when you need a dense surface rather than camera poses.

## Cost

offline — Minutes to hours depending on image count; matching is the bottleneck and scales roughly quadratically unless a vocabulary tree or sequential matcher is used.

## Failure modes

- Texture-poor, reflective or transparent surfaces yield few verified matches, so images fail to register or the model splits into disconnected components
- Repetitive structure (facades, tiles) produces false matches that fold the reconstruction onto itself
- Pure rotation or near-planar scenes make the initial pair degenerate, giving a bad seed and drift
- Result has arbitrary scale and orientation; metric units need a known distance or GPS

## Engine support

- blender: plugin — `Blender add-on: Photogrammetry Importer (imports COLMAP reconstructions)` (evidence: https://github.com/SBCV/Blender-Addon-Photogrammetry-Importer, checked 2026-12-01) — Imports results; the SfM itself runs in COLMAP.

## Dataflow

- Inputs: photos
- Outputs: camera-poses, point-cloud
- Platforms: cuda, cpu

## Presets

### COLMAP default SIFT reconstruction settings (json-params; parameter preset)

```json
{
  "feature_extractor.SiftExtraction.max_image_size": 3200,
  "feature_extractor.SiftExtraction.max_num_features": 8192,
  "camera_model": "SIMPLE_RADIAL",
  "single_camera": true,
  "matcher": "exhaustive_matcher",
  "mapper.ba_global_function_tolerance": 0.000001
}
```

Attribution: Parameter names follow colmap/colmap (BSD-3-Clause); values are the commonly used defaults, written for this index.

## Combines with

- [3D Gaussian Splatting](https://texelatlas.vercel.app/t/gaussian-splatting-3dgs.md): COLMAP supplies camera poses and the sparse point cloud that initialise the Gaussians.
- [Multi-View Stereo (PatchMatch, COLMAP)](https://texelatlas.vercel.app/t/multi-view-stereo-patchmatch.md): SfM poses and sparse points are the input to dense depth-map estimation.

## Sources

1. [primary] Johannes L. Schonberger, Jan-Michael Frahm (2016) Structure-from-Motion Revisited. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). https://doi.org/10.1109/cvpr.2016.445 (verified via crossref on 2026-11-29)
2. [implementation] colmap (2014) colmap/colmap. https://github.com/colmap/colmap License: NOASSERTION. (verified via github on 2026-11-29)
3. [tutorial] COLMAP authors COLMAP documentation. colmap.github.io. https://colmap.github.io/ (verified via http on 2026-11-29)

## Cite this entry

Texel. "Structure-from-Motion (COLMAP)." https://texelatlas.vercel.app/t/structure-from-motion-colmap/ (accessed 2026-12-01).
