pydicom-seg
pydicom-seg copied to clipboard
Filling in empty slices
Hello, I am converting a DICOM Seg file, which contains no empty slices (No mask annotations). After I have converted it into nifti format, I got a segmentation mask which works exactly, except the missing slices are not included.
Is there a way to include these empty slices with reference to the original DICOM scan?
Or will i need to
- Write these SEG into dicom files
- Match these SEG's referenced_instance_uid to the original scan's SOPInstanceUID, and create empty slices in between?