Segmentation(export nrrd) Data Open python

By default, segmentation is saved into a 4D nrrd file (to allow saving overlapping segments). If you nrrd reader cannot cope with that and your segments do not overlap then you can export the segmentation to labelmap and save that to nrrd file (that will be a simple 3D volume).