You might generate a hdr+img or nii file, and then specify the hdr or nii file to import from.
Best, Martijn
-----Oorspronkelijk bericht----- Van: freesurfer-bounces@nmr.mgh.harvard.edu [mailto:freesurfer-bounces@nmr.mgh.harvard.edu] Namens m.vlutters Verzonden: woensdag 5 oktober 2011 7:27 Aan: freesurfer Onderwerp: [Freesurfer] .img unsupported data type ?
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 _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.