Hi all,

I tried opening a Nifti2 image in MITK 2018.04 and it seems I can't.

3526.53 core.mod.core.ioUtil ERROR: No reader available for 'C:/Users/Nil/Desktop/nifti2.nii.gz'

I created my images with this python code

import numpy as np
import nibabel as nib

data = np.random.rand(4, 5, 6, 7).astype(np.float64)
affine = np.eye(4)

nib.save(nib.Nifti1Image(data, affine), 'nifti1.nii.gz')
nib.save(nib.Nifti2Image(data, affine), 'nifti2.nii.gz')

I know that VTK supports it since 6.2. Is it supposed to work?

Nil Goyette

_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to