miop.default_pipelines

Functions

pipeline_fei([pre_processing, tiny, depth])

Create a pipeline for processing FEI TIFF images with metadata.

pipeline_no_metadata([pre_processing, tiny, ...])

Create a pipeline for images without metadata.

pipeline_raft([pre_processing, depth])

Create a pipeline for FEI TIFF images using RAFT flow.

miop.default_pipelines.pipeline_fei(pre_processing=True, tiny=False, depth=7)[source]

Create a pipeline for processing FEI TIFF images with metadata.

This pipeline is designed to process .tif images that contain FEI metadata. It includes dense feature matching (RoMa), camera movement estimation from metadata, 3D reconstruction, and surface reconstruction.

Parameters:
  • pre_processing (bool, optional) – If True, the pipeline starts with the ImageCollection module to handle image loading and preprocessing. Set to False if images are preprocessed manually. Default is True.

  • tiny (bool, optional) – If True, use the tiny variant of the RoMa model (faster, less precise). Default is False.

  • depth (int, optional) – Depth parameter for Poisson Surface Reconstruction. Higher values yield more detail but consume more memory and may produce holes. Default is 7.

Returns:

A pipeline (DAG object) that can be run with the execute(inputs) method.

Return type:

DAG

miop.default_pipelines.pipeline_no_metadata(pre_processing=True, tiny=False, depth=7, threshold=1.0, batch_size=4)[source]

Create a pipeline for images without metadata.

This pipeline is designed for .tif images that lack metadata. It includes dense feature matching (RoMa), disparity-based point propagation, reprojection error filtering, camera pose estimation, and reconstruction.

Parameters:
  • pre_processing (bool, optional) – If True, the pipeline starts with the ImageCollection module for image loading. Default is True.

  • tiny (bool, optional) – If True, use the tiny variant of the RoMa model (faster, less precise). Default is False.

  • depth (int, optional) – Depth parameter for Poisson Surface Reconstruction. Higher values yield more detail but consume more memory and may produce holes. Default is 7.

  • threshold (float, optional) – Threshold (in pixels) for reprojection error. Matches exceeding this error are discarded. Default is 1.0.

  • batch_size (int, optional) – Number of images to consider at once for camera motion estimation. Default is 4.

Returns:

A pipeline (DAG object) that can be run with the execute(inputs) method.

Return type:

DAG

miop.default_pipelines.pipeline_raft(pre_processing=True, depth=7)[source]

Create a pipeline for FEI TIFF images using RAFT flow.

This pipeline processes .tif images with FEI metadata using RAFT optical flow instead of RoMa for dense correspondence estimation. Includes reconstruction and surface generation.

Parameters:
  • pre_processing (bool, optional) – If True, the pipeline starts with the ImageCollection module to load and preprocess images. Set to False if preprocessing is already handled. Default is True.

  • depth (int, optional) – Depth parameter for Poisson Surface Reconstruction. Higher values yield more detail but consume more memory and may produce holes. Default is 7.

Returns:

A pipeline (DAG object) that can be run with the execute(inputs) method.

Return type:

DAG