File Handling
The manager is used to handle files and make sure all components have access to the loaded ones.
General Image Handling
Loaded general images can be accessed through the general_images
attribute of the manager.
These are loaded in using Pillow, this means if Pillow can open the image then PumpIA should be able to as well.
The Pillow Image object does is not stored anywhere.
DICOM File Handling
Loaded DICOMS can be accessed through the patients
attribute of the manager.
This provides a set of all patients loaded from DICOM files.
Four classes are used to group and handle DICOM files:
The DICOM file path and pydicom Dataset can be accessed through either
Series
or Instance
.
For Series
these will be for the current instance defined by the current_slice
attribute.