Skip to content

0.9.0

Choose a tag to compare

@hackermd hackermd released this 31 Aug 22:19

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