Hi Freesurfer gurus & experts,
I'm trying to port Freesurfer data into an Afni-compatible format. I have some questions regarding this process -
1. I came up with the idea of converting Freesurfer data to the Analyze format (from the PDF on the FSWiki), and then to Afni. I'm not exactly sure how to create Analyze's .img files, as there doesn't seem to be any documentation on this. Is there a way to do this, or am I heading down an overly complicated route? Is there a better way to convert Freesurfer data into Afni's format?
2. Given .mgz files, I tried gunzip-ing them, but received an error saying that the extension was an unknown format. How do I unzip these files?
I'd really appreciate any help you can give me.
Thanks, Navaneethan
Hi Navaneethan,
mri_convert file.mgz file.img
should convert to analyze (or you can use the .nii output extension to convert to Nifti instead, which is probably a better choice).
cheers, Bruce
On Mon, 19 May 2008, Navaneethan Santhanam wrote:
Hi Freesurfer gurus & experts,
I'm trying to port Freesurfer data into an Afni-compatible format. I have some questions regarding this process -
- I came up with the idea of converting Freesurfer data to the Analyze
format (from the PDF on the FSWiki), and then to Afni. I'm not exactly sure how to create Analyze's .img files, as there doesn't seem to be any documentation on this. Is there a way to do this, or am I heading down an overly complicated route? Is there a better way to convert Freesurfer data into Afni's format?
- Given .mgz files, I tried gunzip-ing them, but received an error saying
that the extension was an unknown format. How do I unzip these files?
I'd really appreciate any help you can give me.
Thanks, Navaneethan
Navaneethan,
To answer #2, .mgz is indeed gzipped .mgh but gunzip probably doesn't recognize the suffix.
cp foo.mgz foo.mgh.gz gunzip foo.mgh.gz
should work.
-Krish
On May 19, 2008, at 3:46 PM, Navaneethan Santhanam wrote:
Hi Freesurfer gurus & experts,
I'm trying to port Freesurfer data into an Afni-compatible format. I have some questions regarding this process -
- I came up with the idea of converting Freesurfer data to the
Analyze format (from the PDF on the FSWiki), and then to Afni. I'm not exactly sure how to create Analyze's .img files, as there doesn't seem to be any documentation on this. Is there a way to do this, or am I heading down an overly complicated route? Is there a better way to convert Freesurfer data into Afni's format?
- Given .mgz files, I tried gunzip-ing them, but received an error
saying that the extension was an unknown format. How do I unzip these files?
I'd really appreciate any help you can give me.
Thanks, Navaneethan
-- Navaneethan Santhanam Department of Computer Science University of Illinois at Urbana-Champaign Contact - 1-217-714-6954 _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Thanks Donna, Krish & Bruce!
Your help was invaluable.
Thanks again, Navaneethan
On Mon, May 19, 2008 at 3:34 PM, Krish Subramaniam < krish@nmr.mgh.harvard.edu> wrote:
Navaneethan,
To answer #2, .mgz is indeed gzipped .mgh but gunzip probably doesn't recognize the suffix.
cp foo.mgz foo.mgh.gz gunzip foo.mgh.gz
should work.
-Krish
On May 19, 2008, at 3:46 PM, Navaneethan Santhanam wrote:
Hi Freesurfer gurus & experts,
I'm trying to port Freesurfer data into an Afni-compatible format. I have some questions regarding this process -
- I came up with the idea of converting Freesurfer data to the Analyze
format (from the PDF on the FSWiki), and then to Afni. I'm not exactly sure how to create Analyze's .img files, as there doesn't seem to be any documentation on this. Is there a way to do this, or am I heading down an overly complicated route? Is there a better way to convert Freesurfer data into Afni's format?
- Given .mgz files, I tried gunzip-ing them, but received an error saying
that the extension was an unknown format. How do I unzip these files?
I'd really appreciate any help you can give me.
Thanks, Navaneethan
-- Navaneethan Santhanam Department of Computer Science University of Illinois at Urbana-Champaign Contact - 1-217-714-6954 _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu