pyanno4rt.patient.import_functions._generate_segmentation_from_mat

MATLAB file-based segmentation dictionary generation.

Overview

Function

generate_segmentation_from_mat(data, computed_tomography)

Generate the segmentation dictionary from a MATLAB (.mat) file.

Functions

pyanno4rt.patient.import_functions._generate_segmentation_from_mat.generate_segmentation_from_mat(data, computed_tomography)[source]

Generate the segmentation dictionary from a MATLAB (.mat) file.

Parameters:
  • data (ndarray) – Array with information on the segmented structures.

  • computed_tomography (dict) – Dictionary with information on the CT images.

Returns:

segmentation – Dictionary with information on the segmented structures.

Return type:

dict