itkwasm_dicom.apply_presentation_state_to_image_async
ΒΆ
Module ContentsΒΆ
FunctionsΒΆ
Apply a presentation state to a given DICOM image and render output as bitmap, or dicom file. |
APIΒΆ
- async itkwasm_dicom.apply_presentation_state_to_image_async.apply_presentation_state_to_image_async(image_in: os.PathLike, presentation_state_file: os.PathLike, color_output: bool = False, config_file: str = '', frame: int = 1, no_presentation_state_output: bool = False, no_bitmap_output: bool = False) Tuple[Any, itkwasm.Image] ΒΆ
Apply a presentation state to a given DICOM image and render output as bitmap, or dicom file.
- Parameters:
image_in (os.PathLike) β Input DICOM file
presentation_state_file (os.PathLike) β Process using presentation state file
color_output (bool) β output image as RGB (default: false)
config_file (str) β filename: string. Process using settings from configuration file
frame (int) β frame: integer. Process using image frame f (default: 1)
no_presentation_state_output (bool) β Do not get presentation state information in text stream.
no_bitmap_output (bool) β Do not get resulting image as bitmap output stream.
- Returns:
Output overlay information
- Return type:
Any
- Returns:
Output image
- Return type:
Image