itkwasm_dicom.read_overlapping_segmentation_async

Module Contents

Functions

read_overlapping_segmentation_async

Read DICOM segmentation object with overlapping segments into a VectorImage.

API

async itkwasm_dicom.read_overlapping_segmentation_async.read_overlapping_segmentation_async(dicom_file: os.PathLike, merge_segments: bool = False) Tuple[itkwasm.Image, Any]

Read DICOM segmentation object with overlapping segments into a VectorImage.

Parameters:
  • dicom_file (os.PathLike) – Input DICOM file

  • merge_segments (bool) – Merge segments into a single image

Returns:

dicom segmentation object as an image

Return type:

Image

Returns:

Output overlay information

Return type:

Any