Skip to content

v0.28.0

Choose a tag to compare

@CPBridge CPBridge released this 16 Jul 18:49
· 25 commits to master since this release
ee389b6

What's Changed

This is a significant release with new features belonging to three major themes (as well as a large number of smaller fixes):

  1. Revamp of Legacy Converted Enhanced Images (#388 and #426). Legacy Converted Enhanced Images have been implemented in the library for a long time, but had many limitations and some known issues. Building on work done years ago by @afshinmessiah, this release contains a full re-implementation that resolves all the known issues and adds many new features, including much better handling of metadata, transcoding to new transfer syntaxes, monochrome1 to monochrome2 conversion, spatial sorting and dimension indices, correct handling of private tags, mapping of Body Part Examined to Anatomic Region Sequence, and more.
  2. Revamp of Parametric Maps (#372). Parametric Maps have also been implemented for a while, but have always been looked over for new features relative to Segmentations. This release merges a significant amount of the implementations of the two classes onto the common _Image base class, meaning that Parametric Maps (and potentially other IODs in the future) can benefit from the features implemented for segmentations such as automatic tiling, construction from Volumes, creation of pyramids, support for TILED_FULL and TILED_SPARSE, etc
  3. Conversion of highdicom Volumes to objects from other libraries (#387, #394, #411). This stream of work has been led by @mccle. First, we have added a standardised way to handle optional dependencies in highdicom. Using this, we have added methods on the Volume class to convert to and from ITK Images, SimpleITK images, and nibabel, allowing highdicom to integrate with a far wider range of image processing pipelines and interact with files from other formats, both as a reader (allowing you to for example read a DICOM segmentation or parametric map and convert it to an ITK/SITK image) and a writer (making it easier to store an ITK/SITK image in the DICOM objects supported by highdicom)

Features

Bug Fixes

  • Tolerate missing ReferencedInstanceSequence by @CPBridge in #380
  • Avoid division by zero in volume normalization by @CPBridge in #381
  • Increase tolerance used to determine a matrix is orthogonal by @CPBridge in #382
  • Fix time-of-day-dependent failure in series_time validation by @yarikoptic in #395
  • Remove algorithm identification from background class in labelmap segmentations by @CPBridge in #413
  • Swap code used for source images in measurement groups by @CPBridge in #412
  • Volume dtype restriction by @mccle in #410
  • Remove the content date and content time attributes from presentation state IODs by @CPBridge in #417
  • Stricter spatial checks by @CPBridge in #427
  • Disallow segmented LUT in presentation states by @CPBridge in #424

Tooling and Code Quality

Documentation

New Contributors

Also I wish to thank @afshinmessiah for his important contributions to the legacy converted enhanced image implementation and the APOLLO 5 project for funding much of the work that led to this release.

Full Changelog: v0.27.0...v0.28.0