pyanno4rt.patient.import_functions._read_data_from_dcm

DICOM data reading.

Overview

Function

read_data_from_dcm(path)

Read the DICOM data from the path.

Functions

pyanno4rt.patient.import_functions._read_data_from_dcm.read_data_from_dcm(path)[source]

Read the DICOM data from the path.

Parameters:

path (str) – Path to the DICOM folder.

Returns:

  • computed_tomography_data (tuple) – Tuple of pydicom.dataset.FileDataset objects with information on the CT slices.

  • segmentation_data (object of class pydicom.dataset.FileDataset) – The object representation of the segmentation data.