Fixed * Series: Fixed a problem where calculated float window center and level could not be represented in DICOM DS tag. Window center and level are now calculated using float32. * Series: Calculate proper window center and level when a new instance is created. * imagedata.formats.dicomplugin: write_slice will change Series into ndarray before rescaling content. This avoids crosstalk with original window center and level in Series.
3.0.0rc5
Fixed * imagedata.formats.niftiplugin: Corrected writing 4D images. When the 4th dimension is not time, the zoom is set to 1.
Added * Series.show() and Series.get_roi() take an `ax` argument to show image in existing matplotlib Axes. * Series.get_roi() takes an `onselect` callback function which is called when the ROI is modified.
3.0.0rc4
Changed * Drop dependency on importlib_metadata. * Require numpy version 1.19 or later. * Require nibabel version 5.0.0 or later. * Drop support for Python 3.7. * imagedata.formats.niftiplugin: Use sform, not qform, when possible. * Removed unused testing code.
3.0.0rc3
Fixed * imagedata.formats.niftiplugin corrected for rotated volumes. Changed * Drop support for Python 3.6. * Require nibabel version 4.0.0 or later.
3.0.0rc2
Changed * Series.align(): Resulting image is rounded to nearest integer when the moving image is integer.