Dear Sir/Madam,
I would like to use freesurfer for cortical flattening, working with the nii format. When I try to load the nii.gz file as described on http://www.fmrib.ox.ac.uk/fsl/freesurfer/index.html, I get the following error:
student@BMT-PC125:~$ tkmedit -f t1.nii.gz niiRead(): error opening file ./t1.nii.gz
Error: Loading volume t1.nii.gz
Couldn't read the anatomical volume.
Tkmedit couldn't read the volume you specified. This could be because the image format wasn't recognized, or it couldn't find the proper header, or the file(s) were unreadable, or it was the wrong size.
This image t1.nii.gz was obtained by converting DICOM images with dcm2nii. I also tried to load a example dataset downloaded from http://nifti.nimh.nih.gov/nifti-1/data, but still I get the same error. FSL was able to load both datasets without problems.
Please could you help me with this problem?
Thank you in advance,
Kindest Regards