openlifu.nav.photoscan.run_reconstruction¶
- openlifu.nav.photoscan.run_reconstruction(images: list[Path], pipeline_name: str = 'default_pipeline', input_resize_width: int = 3024, use_masks: bool = True) → Tuple[Photoscan, Path][source]¶
Run Meshroom with the given images and pipeline. :param images: List of image file paths. :type images: list[Path] :param pipeline_name: Name of the Meshroom pipeline in meshroom_pipelines folder.
See also get_meshroom_pipeline_names.
- Parameters:
input_resize_width (int) – Width to which input images will be resized, in pixels.
use_masks (bool) – Whether to include a background removal step to filter the dense reconstruction.
- Returns:
The Photoscan of the reconstructed images. data_dir (Path): The directory containing the underlying data files whose names are given in the Photoscan.
- Return type:
photoscan