Removing the 4th dimension from NRRD file

Hi Slicer support

In some of my segmentations my NRRD files have an extra dimension (4th dimension). This has caused issues with compatibility with certain software loading the file up. Would anyone know how to remove this extra dimension so that the file only has 3 dimensions?

Any help would be greatly appreciated.

Thank you

Senn

You might be able to use unu reshape as described here.

You mean you are trying load the segmentation you did in Slicer (*.seg.nrrd file) into a some other software? If that’s the case, you will probably be better off exporting the segmentation as a labelmap and try.