How opendronemap/odm works
ODM is a command-line photogrammetry toolkit: a user supplies aerial imagery (or supported video) and processing options, then ODM produces georeferenced mapping outputs. The graph follows that workflow through the documented application stages and preserves major results such as classified point clouds, textured models, orthophotos, and elevation models. The README establishes the product capabilities; source-index references and excerpts support only some internal connections. Unverified stage dispatch is shown as dashed rather than inferred as a definite call chain.
Main entry points: odm_app.py ODM application · run.py CLI entry · odm_dem.py Elevation models · commands.py DEM operations
Components 23
Entry and orchestration
- CLI entry
run.py - ODM application
stages/odm_app.py - Dataset preparation
stages/dataset.py - Video extraction
opendm/video/video2dataset.py
Image reconstruction
- Structure from motion
stages/run_opensfm.py - Split and merge
stages/splitmerge.py
Mapping products
- Georeferencing
stages/odm_georeferencing.py - Point cloud processing
opendm/point_cloud.py - Point classification
stages/odm_filterpoints.py - Elevation models
stages/odm_dem.py - DEM operations
opendm/dem/commands.py - Ground rectification
opendm/dem/ground_rectification/rectify.py - 3D meshing
stages/odm_meshing.py - Model texturing
stages/mvstex.py - Orthophoto generation
stages/odm_orthophoto.py - Orthophoto operations
opendm/orthophoto.py - Processing report
stages/odm_report.py
Runtime support
- Options and configuration
opendm/config.py - Command execution
opendm/system.py - File handling
opendm/io.py
Other components
- CLI user
- Aerial imagery
- Georeferenced outputs
Connections 20
- CLI user → CLI entry: invokes
README.md - Aerial imagery → Dataset preparation: provides images
README.md - CLI user → Video extraction: supplies video
README.md - CLI entry → ODM application: starts
run.py - CLI entry → Options and configuration: loads options
run.py - ODM application → Dataset preparation: prepares dataset
- ODM application → Structure from motion: dispatches reconstruction
- Split and merge → Structure from motion: uses SfM context
stages/splitmerge.py - ODM application → Georeferencing: dispatches georeferencing
- ODM application → Point classification: dispatches classification
- ODM application → Elevation models: dispatches DEM generation
- DEM operations → Ground rectification: calls rectification
opendm/dem/commands.py - ODM application → 3D meshing: dispatches meshing
- ODM application → Model texturing: dispatches texturing
- ODM application → Orthophoto generation: dispatches orthophoto
- Orthophoto generation → Orthophoto operations: uses raster operations
opendm/orthophoto.py - ODM application → Processing report: dispatches reporting
- Elevation models → DEM operations: uses DEM operations
- ODM application → Georeferenced outputs: produces mapping products
README.md - Command execution → File handling: uses file utilities
opendm/system.py