COLMAP Workflow¶
This guide uses the dedicated pixi colmap environment and the three task wrappers:
colmap-featurescolmap-matchcolmap-map
Each task takes exactly one input, the scene folder.
Mapping runs bundle adjustment on the GPU through
CasPAR,
the backend COLMAP 4.1 added as an alternative to the Ceres solver. It is experimental and disabled
in the official binary, so the colmap environment compiles COLMAP from source with it enabled. The
first task you run triggers that build, and later runs reuse it.
1. Prepare a workspace with images¶
Create a workspace directory and put your images in an images/ subfolder:
Set the folder once and reuse it:
2. Extract features¶
Run the feature extraction task:
3. Match sequentially¶
Run the matching task:
4. Run mapping¶
Run the mapping task:
The sparse model will be written under $SCENE_DIR/sparse/0.