Automatic incremental reconstruction
- class limap.runners.AutomaticStructureIncrementalReconstructionOptions(max_image_dim: int | None = None, skip_frontend_if_exists_database: bool = False, metainfo: MetaInfoComputerOptions = <factory>, _image_description: ImageDescriptionOptions = <factory>, _image_association: ImageAssociationOptions = <factory>, colmap_options: dict = <factory>, structure_options: dict = <factory>, use_exhaustive_line_matching: bool = False)
Options for automatic structure-aware incremental reconstruction.
- __init__(max_image_dim: int | None = None, skip_frontend_if_exists_database: bool = False, metainfo: MetaInfoComputerOptions = <factory>, _image_description: ImageDescriptionOptions = <factory>, _image_association: ImageAssociationOptions = <factory>, colmap_options: dict = <factory>, structure_options: dict = <factory>, use_exhaustive_line_matching: bool = False) None
- colmap_options: dict
- property image_association: ImageAssociationOptions
- property image_description: ImageDescriptionOptions
- max_image_dim: int | None = None
- metainfo: MetaInfoComputerOptions
- skip_frontend_if_exists_database: bool = False
- structure_options: dict
- use_exhaustive_line_matching: bool = False
- limap.runners.automatic_structure_incremental_reconstruction(options: AutomaticStructureIncrementalReconstructionOptions, image_dir: Path, output_dir: Path, recon: Reconstruction, db_path: Path | None = None, structure_db_path: Path | None = None, neighbors: dict[int, list[int]] | None = None) Path
Run automatic structure-aware incremental SfM reconstruction.
This function runs the full SfM pipeline: feature extraction, matching, geometric verification, and incremental reconstruction with hybrid point+line registration and structure triangulation.
The input reconstruction needs camera intrinsics and image list but NOT poses. The pipeline estimates poses from scratch (incremental SfM). The reconstruction is passed in-memory to avoid COLMAP’s binary format which drops unposed frames/images on write.
- Parameters:
options – Configuration options
image_dir – Path to images
output_dir – Output directory for results
recon – In-memory Reconstruction with cameras and images (no poses required)
db_path – Optional COLMAP database (default: run frontend)
structure_db_path – Optional structure database (default: run frontend)
neighbors – Optional image neighbors for frontend
- Returns:
Path to output directory containing reconstructed models