Skip to content

Releases: ImagingDataCommons/highdicom

0.13.1

01 Dec 14:50
Compare
Choose a tag to compare

Bug fixes

  • Fix alternative construction of KeyObjectSelectionDocument instances (#134)
  • Fix compliance issues of ParametricMap (#140)

0.13.0

19 Nov 22:08
Compare
Choose a tag to compare

Enhancements

  • Add support for Finding Category in TID 1501, 1410, and 1411 according to CP 2176 (#138)

Bug fixes

  • Ensure segment pixel data are properly scaled to [0, 255] range when Segmentation Type is FRACTIONAL (#137)

0.12.1

08 Nov 19:05
Compare
Choose a tag to compare

Bug fixes

  • Fix standard compliance issues of KOS instances (#133)

0.12.0

05 Nov 18:02
Compare
Choose a tag to compare

New features

  • Implementation of Key Object Selection Document Storage SOP Class (#132)
  • Allow users to specify Content Label (#130)

Enhancements

  • Add Total Pixel Matrix Rows/Columns attributes to Segmentation and Parametric Map objects (#131)
  • Add anatomy attributes to annotations groups
  • Add example for creation of Secondary Capture images
  • Enforce Series Number and Instance Number to be positive integers (#127)

Bug fixes

  • Fix JPEG2000 encoding of frames (#119)
  • Add missing import statements for Structured Report examples and fix typos in documentation (#125)
  • Fix Pixel Spacing in Secondary Capture image (#128)
  • Include API documentation for new packages

0.11.0

14 Oct 15:38
b5bcb62
Compare
Choose a tag to compare

New features

  • Implement Microscopy Bulk Simple Annotations (#114)

Enhancements

  • Use Explicit VR Little Endian transfer syntax by default for all SOP classes (#114)

Bug fixes

  • Use correct attribute in dimension index of segmentation (#116)
  • Allow reference of more than one frame for segmentation source images of planar regions (#118)
  • Prevent inclusion of empty content sequence into SR content items (#121)

0.10.0

05 Oct 13:05
Compare
Choose a tag to compare

New features

  • Add methods and properties for parsing referenced segments in SR document content (#104)

Improvements

  • Include Image Orientation (Slide) and Total Pixel Matrix Origin Sequence attributes in Segmentation (#102)

Bug fixes

  • Add missing import statement in example code snippet of documentation (#113)
  • Correct value types of Volume Surface content item(s) in SR document content (#112)
  • Fix indentation issue in legacy package (#111)

0.9.2

21 Sep 05:54
Compare
Choose a tag to compare

Bug fixes

  • Correct code name of Specimen Preparation Step (#108)
  • Correct attribute name of legacy converted images (#105)

Documentation

  • Add example on how to create secondary capture image (#109)

0.9.1

14 Sep 21:19
Compare
Choose a tag to compare

Bug fixes

  • Allow inclusion of content items without Relationship Type into content sequences defined by Acquisition and Protocol templates (#107)

0.9.0

31 Aug 22:19
Compare
Choose a tag to compare

New features

  • Implement Parametric Map IOD (#89)
  • Enable construction of highdicom objects from existing pydicom objects (#93)
    dataset = pydicom.filereader.dcmread(...)
    segmentation = hd.seg.Segmentation.from_dataset(dataset)
  • Add properties and methods to classes derived from highdicom.sr.ContentItem and highdicom.sr.Template to facilitate data access
    document = hd.sr.ComprehensiveSR(...)
    measurement_groups = document.content.get_planar_roi_measurements()

Improvements

  • Add unit tests
  • Improve description of parameters in docstrings
  • Add docstrings to enums
  • Add image library entries for SR documents based on TID 1500 (#77)

Bug fixes

  • Fix many mypy errors
  • Record evidence correctly (Current Requested Procedure Evidence Sequence versus Pertinent Other Evidence Sequence)
  • Fix highdicom.sr.RelationshipType
  • Fix default value for Pixel Origin Interpretation
  • Allow Concept Name Code Sequence to be absent
  • Write error traceback to stderr instead of stdout

Major changes

  • Change implementation of highdicom.sr.QualitativeEvaluation (is now derived from highdicom.sr.Template rather than highdicom.sr.ContentItem for consistency with highdicom.sr.Measurement)
  • Make value and unit parameters of highdicom.sr.NumContentItem required (the corresponding attributes are required by the standard)
  • Change fields of highdicom.PatientSexValues to single letters (for consistency with other enums)
  • Add references to Current Requested Procedure Evidence Sequence rather than Pertinent Other Evidence Sequence if instances are referenced in the SR document content tree

0.8.0

30 Jul 22:08
Compare
Choose a tag to compare

Bug fixes

  • Fix Dimension Organization of Segmentation instances (#92).

Major changes

  • Deprecate Segmentation.add_segments() method (#92). All segments now need to be passed to the constructor method. See more detailed release notes about this issue here.