pyanno4rt.patient.import_functions._import_from_mat

MATLAB file import.

Overview

Function

import_from_mat(path, resolution)

Import the patient data from a MATLAB (.mat) file.

Functions

pyanno4rt.patient.import_functions._import_from_mat.import_from_mat(path, resolution)[source]

Import the patient data from a MATLAB (.mat) file.

Parameters:
  • path (str) – Path to the MATLAB file.

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

Returns:

  • dict – Dictionary with information on the CT images.

  • dict – Dictionary with information on the segmented structures.