I have a .img file of a reconstructed PET scan. I want to obtain a .nii image
Here is what I\'ve tried:
import nibabel as