You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i try to create dicom seg file it increase slices. For example I have (114 512 512) dimension but after creating dicom seg file it increases to (731 512 512). I am using dicom and segmentation nrrd for dicom seg creation.
The text was updated successfully, but these errors were encountered:
Hi @anuragp2018 yes this is expected behaviour if your segmentation contains multiple segments (classes). This is because DICOM segmentations (those with SegmentationType BINARY) stores a separate set of frames for each segment (allowing them to overlap).
You should find that if you use highdicom's methods to read the files, it can correctly recombine them if that is what you desire (see e.g. the get_volume method).
Alternatively, you could look into using the new LABELMAP segmentation type, which combines the segments into a single set of frames, as you were probably expecting. However, note that LABELMAP segmentations are not widely compatible with other tools (yet...)
When i try to create dicom seg file it increase slices. For example I have (114 512 512) dimension but after creating dicom seg file it increases to (731 512 512). I am using dicom and segmentation nrrd for dicom seg creation.
The text was updated successfully, but these errors were encountered: