Page MenuHomePhabricator

DICOM Seg IO skips empty slices when storing DICOM seg
Closed, ResolvedPublic


Status: Currently our DCM seg writer skips empty slices (thats the default of dcmqi). This results in the fact, that segs stored and loaded into MITK cannot be directly used for e.g. statistics or modifying the segmentation, because we assume/test in most code parts that mask and image have the same geometry, which will mostly not be the case (or in other words MITK currently does not support yet segmentations that are only a cropped grid of the image, so smaller extend but same geometry).

I think we should at least change to not skip the empty slices on save for now. To produce segs that MITK fully supports currently. If we support cropped segmentations somewhen in the future, we could switch it on again.

This seems also to mitigate the problem noted in T26949.

Revisions and Commits

Restricted Differential Revision
Restricted Differential Revision

Event Timeline

floca triaged this task as Normal priority.May 13 2020, 10:34 PM
floca created this task.

Discussion result: For now (MITK 2020) we well deactivate the skipping of empty slices. But such a support would make sense longterm, but it is also a bigger issue. I have opened a dedicated Task T27439: [Segmentation] Support of Mask/Segmentations that are cropped / do not cover the whole image grid for that.

floca added a revision: Restricted Differential Revision.May 24 2020, 3:53 PM