Dear FreeSurfers,
First of all, I am completely new to FS so forgive me if I missed something simple.
I am currently running freesurfer v5.1.0, using the .vdi file with VirtualBox. (Host = windows 7). I tested the program by running the autorecon1 on subject "bert" and everything seems to work fine so far.
Now I have a .img file (which I can view using SPM8), and I would like to convert it to a .mgz file using freesurfer's mri_convert. I tried the following:
mri_convert /home/virtualuser/freesurfer/subjects/MySubj/NS-3D.img /home/virtualuser/freesurfer/subjects/MySubj/001 -ot mgz
which gives me:
$Id: mri_convert.c,v 1.179.2.1 2011/03/22 16:37:02 nicks Exp $ reading from /home/virtualuser/freesurfer/subjects/MySubj/NS-3D.img... ReadAnalyzeHeader: unsupported data type 0
If I specify the input type as well (-it spm) I get:
$Id: mri_convert.c,v 1.179.2.1 2011/03/22 16:37:02 nicks Exp $ reading from /home/virtualuser/freesurfer/subjects/MySubj/NS-3D.img... ERROR: CountAnalyzeFiles: file with.img extension specified with zero pad variable.
I tried it with other .img files I have as well and I get similar errors. (Sometimes with a different number behind 'unsupported data type', like -12080)
What am I doing wrong? Does it have something to do with this zero pad variable? I don't expect the .img files to be wrong. They are generated by SPM8.
Thanks in advance for any replies!
Mark V