Version 2.1.0
Read dicom zip
Implemented new DICOMImageReader to organise DICOM reading:
- Read DICOM data from a folder or dicom.zip.
- Improve support with
pydicom: image origin and direction are now set correctly. - Fix metadata reading with
pydicom: metadata is now read in the same way asSimpleITK. - Cleanup: split image reading with
SimpleITK/pydicomto separate functions. Movepydicom-specific functionget_pydicom_valuetodcm2mha.py. - Update slice from which metadata is read to align with
pydicom(now orientation etc. is read from the same slice as the metadata, which is better consistency anyway). - Added unit tests to verify image reading with
SimpleITKandpydicom.
Add metadata reading to DICOMImageReader:
- metadata can now be read without extracting anything from the dicom.zip.
- bring the responsibility for checking DICOM filenames to
DICOMImageReader. - added tests for reading from dicom.zip.