Hi all,
I am a new user of the NODDI toolbox and attempting to use the CreatROI function.
For some reason the toolbox is unable to read in the nifti file. The call and error are below.
I apologize if someone else has had this error but I am able to read in the nifti and binary brain mask file in FSL and DSI Studio so I know they are functional (or at least the header info can be read elsewhere) so I am not sure where I have made an error.
Any help would be appreciated!
-Steve
Call: CreateROI('data.nii','nodif_brain_mask.nii','NODDIroi.mat')
Error:
Cannot read header extension.Error using read_hdr (line 56)
Unrecognised datatype (30231.000000) for "data.nii".
Error in nifti (line 26)
vol = read_hdr(fname);
Error in CreateROI (line 29)
dwi = nifti(dwifile);
Error in PVT_NODDITesting (line 14)
CreateROI('data.nii','nodif_brain_mask.nii','NODDIroi.mat')