I am facing some problem in converting multiple Numpy arrays into a single nrrd file. For instance, in nrrd.read() function I know that it returns a 3D Numpy array. I used slicing to get the individual slices for axial, coronal, and sagittal views. I did some processing using these individual slices and now I want to merge the slices as they originally were so that I could use nrrd.write() function to get a single nrrd file.
I am facing some problem in converting multiple Numpy arrays into a single nrrd file. For instance, in nrrd.read() function I know that it returns a 3D Numpy array. I used slicing to get the individual slices for axial, coronal, and sagittal views. I did some processing using these individual slices and now I want to merge the slices as they originally were so that I could use nrrd.write() function to get a single nrrd file.
Is there any way to do that? Thanks in advance!