HomePhabricator
Diffusion MITK cf959064b14e

Description

BREAKING
What: Introduced LegacyLabelSetImageIO readonly.

Removed old LabelSetImageIO

+ started with new MultiLabelSegmentationIO
+ added LegacyLabelSetMimeType

Why: New MultiLabelSegmentation only allows unique label values over
all layers. This is violated by all old LabelSetImages that have more then
one layer containing labels. The new legacy reader allows to read this
segmentations and either (a) addapt the pixelvalues to be compliant or
(b) keeps data untouched but loads each layer as own segmentation data.
In addition the internal format of storing the label information was changed
and simplified.

How to adapt: Use LegacyLabelSetImageIO to load old data. For everything else
use the new MultiLabelSegmentationIO.

Details

Provenance
flocaAuthored on Apr 5 2023, 5:53 PM
flocaPushed on Apr 26 2023, 6:09 PM
Differential Revision
Restricted Differential Revision
Parents
rMITK517e2d244209: Extracted functions for legacy LabelSetImageIO to make it reusable at other…
Branches
Unknown
Tags
Unknown