Imagedata

Latest version: v3.7.2

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

Scan your dependencies

Page 18 of 18

1.4.2

Changed
* Set Pixel Representation depending on dtype.
* Handle DICOM signed integer depending on value of Pixel Representation.

1.4.1

Fixed
* Fixed problem where Window Center and Level with multiple pairs of windows were not read correctly.

1.4.0

Added
* New plugin architecture using python's entry_points.
* Added image_show console application.
Changed
* imagedata_format_ps is split out in separate package.

1.3.8

Fixed
Dicomplugin.sort_images(): Re-raise exception when data cannot be sorted, or when tag is None.

1.3.7

Added
* Added Series.deepcopy().
Changed
* Header class: hdr is now a Header instance. Was: dict. Dict is no longer accepted.
* Viewer class now inherits object class.
* Series.setDicomAttribute(): Always make a new attribute to avoid cross-talk after copying Series instances.
Fixed
* Format plugin classes: Header.add_template() and Header.add_geometry are now Header member functions.

1.3.6

Added
* Accept Path object as url.
* Series.get_roi: New parameter `single` when only one slice per tag has a ROI.
* Series.to_rgb(): Use matplotlib colormaps to create color images. Add colormap and lut parameters.
* Display colorbar when colormap is not grayscale, and image is not RGB image.
* Series.to_rgb(): Added option 'norm' to determine normalization method. Methods implemented: 'linear' and 'log'. Modified behavior to honor normalization method.
Changed
* Moved formats.ps to separate package. Thereby removed dependency on ghostscript package.
* Default colormap is 'Greys_r'.
* Viewer: Renamed option `cmap` to `colormap`.
* Set appropriate Window Center and Width for new Series instance.
* Viewer: Let the delta increment of Window Center and Width depend on actual value range. Avoid non-positive Window Width. Let Window Center be a floating point number when less than 2.
Fixed
* NiftiPlugin: Stable version where SForm matrices are read and written properly for coronal orientation.
* DICOMPlugin: Do not scale pixel data when RescaleSlope == 1 and RescaleIntercept == 0.

Page 18 of 18

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.