pyanno4rt.patient.import_functions._generate_ct_from_mat

MATLAB file-based CT dictionary generation.

Overview

Function

generate_ct_from_mat(data, resolution)

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

Functions

pyanno4rt.patient.import_functions._generate_ct_from_mat.generate_ct_from_mat(data, resolution)[source]

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

Parameters:
  • data (dict) – Dictionary with information on the CT slices.

  • resolution (None or list) – Imaging resolution for post-processing interpolation of the CT and segmentation data.

Returns:

computed_tomography – Dictionary with information on the CT images.

Return type:

dict