{
 "id": "structure-from-motion-colmap",
 "title": "Structure-from-Motion (COLMAP)",
 "aliases": [
  "SfM",
  "COLMAP",
  "incremental SfM"
 ],
 "domain": "capture",
 "subdomain": "photogrammetry",
 "stage": "capture",
 "realtime": "offline",
 "platforms": [
  "cuda",
  "cpu"
 ],
 "year_introduced": 2016,
 "inputs": [
  "photos"
 ],
 "outputs": [
  "camera-poses",
  "point-cloud"
 ],
 "style": "photoreal",
 "dynamic": "static",
 "summary": "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.",
 "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": "Choose it as the default pose-estimation front end for any radiance-field or splat capture from ordinary photos or video frames. Prefer `dust3r` or `vggt` when you have very few views, little texture, or need poses in seconds rather than minutes. Prefer `multi-view-stereo-patchmatch` after it when you need a dense surface rather than camera poses.",
 "cost": {
  "class": "offline",
  "notes": "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"
 ],
 "sources": [
  {
   "role": "primary",
   "key": "doi:10.1109/cvpr.2016.445",
   "type": "paper",
   "title": "Structure-from-Motion Revisited",
   "authors": [
    "Johannes L. Schonberger",
    "Jan-Michael Frahm"
   ],
   "year": 2016,
   "venue": "2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR)",
   "url": "https://doi.org/10.1109/cvpr.2016.445",
   "ids": {
    "doi": "10.1109/cvpr.2016.445"
   },
   "license": null,
   "extra": {
    "csl_type": "proceedings-article"
   },
   "provenance": {
    "title": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1109/cvpr.2016.445",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1109/cvpr.2016.445",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1109/cvpr.2016.445",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1109/cvpr.2016.445",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1109/cvpr.2016.445",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": 1,
   "__bib": "schonberger2016structure"
  },
  {
   "role": "implementation",
   "key": "gh:colmap/colmap",
   "type": "code",
   "title": "colmap/colmap",
   "description": "COLMAP - Structure-from-Motion and Multi-View Stereo",
   "authors": [
    "colmap"
   ],
   "year": 2014,
   "venue": "GitHub",
   "url": "https://github.com/colmap/colmap",
   "ids": {
    "repo": "colmap/colmap"
   },
   "license": "NOASSERTION",
   "extra": {
    "stars": 13324,
    "stars_checked": "2026-11-29",
    "archived": false,
    "fork": false,
    "pushed_at": "2026-11-28T21:48:00Z",
    "language": "C++",
    "homepage": "https://colmap.github.io/",
    "license_name": "Other"
   },
   "provenance": {
    "title": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/colmap/colmap",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/colmap/colmap",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/colmap/colmap",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/colmap/colmap",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/colmap/colmap",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "license": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/colmap/colmap",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": null,
   "__bib": "colmap2014colmap"
  },
  {
   "role": "tutorial",
   "key": "url:https://colmap.github.io/",
   "type": "tutorial",
   "title": "COLMAP documentation",
   "authors": [
    "COLMAP authors"
   ],
   "year": null,
   "venue": "colmap.github.io",
   "url": "https://colmap.github.io/",
   "ids": {},
   "license": null,
   "extra": {
    "http_status": 200,
    "live": true,
    "archive": {
     "url": "http://web.archive.org/web/20261112130340/https://colmap.github.io/",
     "timestamp": "20261112130340"
    },
    "page_title": "COLMAP",
    "host": "colmap.github.io",
    "title_confirmed_by_page": true,
    "title_unconfirmed": false
   },
   "provenance": {
    "title": {
     "authority": "http",
     "endpoint": "GET https://colmap.github.io/ → 200",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "http",
     "endpoint": "GET https://colmap.github.io/ → 200",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "research-draft",
     "endpoint": "title_hint/author_hint, checked against page title where available",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "http",
     "endpoint": "GET https://colmap.github.io/ → 200",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "research-draft",
     "endpoint": "title_hint/author_hint, checked against page title where available",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": 0.6666666666666666,
   "__bib": "authorscolmap"
  }
 ],
 "presets": [
  {
   "id": "colmap-default-sift",
   "title": "COLMAP default SIFT reconstruction settings",
   "runtime": "json-params",
   "params": {
    "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
   },
   "basis": "original",
   "license_note": "Parameter names follow colmap/colmap (BSD-3-Clause); values are the commonly used defaults, written for this index.",
   "execution_fidelity": "parameter-only",
   "proof": {
    "kind": "parameter",
    "label": "parameter preset",
    "ok": true,
    "proof": null
   }
  }
 ],
 "related": [
  "multi-view-stereo-patchmatch",
  "nerf",
  "gaussian-splatting-3dgs",
  "dust3r",
  "vggt"
 ],
 "extends": [],
 "supersedes": [],
 "combines_with": [
  {
   "id": "gaussian-splatting-3dgs",
   "why": "COLMAP supplies camera poses and the sparse point cloud that initialise the Gaussians."
  },
  {
   "id": "multi-view-stereo-patchmatch",
   "why": "SfM poses and sparse points are the input to dense depth-map estimation."
  }
 ],
 "provenance": {
  "prose": "original text written for this index (research draft, editorially reviewed)",
  "sources_verified_at": "2026-11-29T15:51:27.588Z",
  "draft": "data/drafts/capture/structure-from-motion-colmap.json"
 },
 "solves": [
  "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"
 ],
 "authority": "Schonberger & Frahm, 2016",
 "url": "https://texelatlas.vercel.app/t/structure-from-motion-colmap/",
 "execution_fidelity": "parameter-only",
 "fidelity_label": "Parameter Preset",
 "benchmark_eligible": false
}