T30286-Update_to_DCMQI
Summary:
Upgrade DCMQI to 1.3.0
There are two very important improvements in this updated version:
- Performance of conversion is improved perhaps by at least an order of magnitude, cutting down the conversion for large DICOM SEG (such as TotalSegmentator results) from minutes to seconds.
- It is now possible to save non-overlapping segments into a single file instead of previous convention of saving each segment as a separate file. See details in https://github.com/QIICR/dcmqi/pull/464. Note that to use this feature you will need to use the --merge flag (there may be changes needed to the MITK dcmqi wrapper - I am sure you will test this - but there are no changes to the JSON schema)
Update dcmqi to 1.3.1
Bump to DCMQI v1.3.2
Adapt to new DCMQI interface
+ fixed T30286
Fixed error in label generation when loading multiple groups from DICOM Seg
Fixed error in assigning the label name when DCM Seg is loaded
Added support for SegmentOverlap tag.
If segment overlap == NO then all segements are added as label of one
group. In all other cases each segment is added as new group (old
behavior).
+ fixed memory leak
Test Plan:
code review, test to load and save segs as/from DCM Seg. Segmentations of a group in MITK should stay now a group also after loading.
Loading old/other DCM seg results in a group per segment/label.
Reviewers: O1 MITK Reviewer Group I, kislinsk
Reviewed By: O1 MITK Reviewer Group I, kislinsk
Subscribers: kislinsk
Maniphest Tasks: T30286
Differential Revision: https://phabricator.mitk.org/D966