Imagedata

Latest version: v3.7.2

Safety actively analyzes 721753 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 16 of 20

3.0.0rc0

Changed
* imagedata.formats.niftiplugin improved to handle nifti files
like the popular tool dcm2niix (https://www.nitrc.org/projects/dcm2nii/).
* Notice that nifti files written with imagedata prior to version 3 will be incompatible
with version 3 onwards.

2.1.2

Changed
* imagedata.apps.diffusion: Improved documentation.

2.1.1

Changed
* Modified fetching package metadata and entry_points.

2.1.0

Added
* imagedata.apps.diffusion module to extract diffusion MRI parameters.

2.0.0

Added
* Study class: a collection of Series instances.
Sort images into separate Series depending on SeriesInstanceUID.
(https://github.com/erling6232/imagedata/issues/22)
* Patient and Cohort classes: Patient is a collection of Study instances,
while Cohort is a collection of Patient instances.
* Simpler import statements in user code: `from imagedata import Series, Study`
* Add support Python 3.11 (https://github.com/erling6232/imagedata/issues/21)
* Series.to_rgb(): Added clip parameter whether clipping to DICOM window or
to histogram probabilities.
* Series.fuse_mask(): Color fusion of mask.
* Added Series.align() method.
Changed
* `input_order='auto'`: Auto-detect the sorting of Series,
depending on which DICOM attribute varies.
The input_orders time/b/fa/te are attempted in order.
* `auto` is now the default input_order.
* DWI images will typically have varying time. Let `b` values override the time stamps
during auto-detect sorting of Series.
* The dicom read has been modified to keep the UIDs of the input files.
This way SOPInstanceUIDs are correct when you later want to look up SOPInstanceUID from a DICOM PR.
* image_data.statistics: print patient, study and series properly.
* image_data.conversion: improved conversion of date/time for directory names.
* The series write() method now has an option to keep the UID when writing.
The UIDs used to be modified at output to indicate that the data might have been modified.
Do something like:

a.write(destination, opts={'keep_uid': True})

Fixed
* DICOMPlugin: Catch errors when converting DICOM attributes to numbers.
* Header.add_geometry() takes one template only.
* Axis: Enhanced class with __getitem__ and __next__ to enable iteration over axis values.

2.0.0rc2

Changed
* cmdline: Changed default input order to `auto`.

Page 16 of 20

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.