1

I have data in nifti format, these are 3 axial images of an animal’s brain, how to create a dataset for training a convolutional neural network, for segmenting brain regions, by python 3?

1 Answers1

0

You can use nibabel library for loading nifti files using nibabel.load(path). And from that, you can get numpy array and combine all arrays to form a dataset in numpy arrays or convert it to H5py format as your choice.

Scott
  • 4,974
  • 6
  • 35
  • 62