Skip to main content

Module reconstruct

Module reconstruct 

Source
Expand description

Drone-video photogrammetry pipeline: video → 3D Gaussian Splatting → 3D Tiles.

Orchestrates the full end-to-end reconstruction chain that turns a drone video into OGC 3D Tiles renderable in a web map:

drone video
   │  ffmpeg frame extraction (stage 1)
   ▼
frames/  +  COLMAP sparse reconstruction (stage 2)
   │  cameras.bin / images.bin / points3D.bin
   ▼
brush 3DGS training (stage 3)
   │  exported PLY
   ▼
splat-tiles octree subdivision (stage 4)
   │  tileset.json + tiles/*.glb + scene.spz
   ▼
v-maplibre VLayerSplat / VLayer3DTiles

Each stage shells out to an external tool following the osmium integration precedent: ffmpeg (frames), colmap (SfM), brush-cli (3DGS training). The final tiling stage runs entirely in-process on the crate::splat module.

Stage outputs are written under a single working directory so the pipeline is resumable: re-running with the same --output skips stages whose outputs already exist.

Structs§

ReconstructOptions
Options for the drone-video reconstruction pipeline.

Functions§

run_reconstruct
Run the full drone-video reconstruction pipeline into output.