pyanno4rt.patient.import_functions._generate_ct_from_dcm
DICOM folder-based CT dictionary generation.
Overview
|
Generate the CT dictionary from a folder with DICOM (.dcm) files. |
Functions
- pyanno4rt.patient.import_functions._generate_ct_from_dcm.generate_ct_from_dcm(data, resolution)[source]
Generate the CT dictionary from a folder with DICOM (.dcm) files.
- Parameters:
data (tuple) – Tuple of
pydicom.dataset.FileDatasetobjects 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
- Raises:
ValueError – If either the grid resolutions, the image positions or the dimensionalities are inconsistent.