Dear Freesurfer authors,
I have been working with the command line group analysis tutorial from the freesurfer wiki website. Unfortunately I did not "qcached" my data with recon-all. So I ran the "mris_preproc" and "mri_surf2surf" commands from the tutorial (see below) at the end of which I get a single 4D file "lh.gender_age.thickness.10B.mgh" concatenated over all subjects Is there a way to split this file into 3D files so that I have a thickness file for each individual subject?
Thanks, Mayuresh
mris_preproc --fsgd gender_age.fsgd \ --target fsaverage --hemi lh \ --meas thickness \ --out lh.gender_age.thickness.00.mgh
mri_surf2surf --hemi lh \ --s fsaverage \ --sval lh.gender_age.thickness.00.mgh \ --fwhm 10 \ --cortex \ --tval lh.gender_age.thickness.10B.mgh
Love Cricket? Check out live scores, photos, video highlights and more. Click here http://cricket.yahoo.com
Hi Mayuresh,
I think if you do:
mri_convert lh.gender_age.thickness.00.mgh#0 lh.thickness.subject0.mgh
you will extract the first frame (or #1 for the second, etc...).
cheers, Bruce
On Thu, 9 Jul 2009, Mayuresh Korgaonkar wrote:
Dear Freesurfer authors,
I have been working with the command line group analysis tutorial from the freesurfer wiki website. Unfortunately I did not "qcached" my data with recon-all. So I ran the "mris_preproc" and "mri_surf2surf" commands from the tutorial (see below) at the end of which I get a single 4D file "lh.gender_age.thickness.10B.mgh" concatenated over all subjects Is there a way to split this file into 3D files so that I have a thickness file for each individual subject?
Thanks, Mayuresh
mris_preproc --fsgd gender_age.fsgd \ --target fsaverage --hemi lh \ --meas thickness \ --out lh.gender_age.thickness.00.mgh
mri_surf2surf --hemi lh \ --s fsaverage \ --sval lh.gender_age.thickness.00.mgh \ --fwhm 10 \ --cortex \ --tval lh.gender_age.thickness.10B.mgh
Love Cricket? Check out live scores, photos, video highlights and more. Click here http://cricket.yahoo.com
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
You can also mri_convert lh.gender_age.thickness.00.mgh --frame 0 lh.thickness.subject0.mgh
Alternatively, you can specify a temporary directory (--tmp), and all the individual files will be in there.
doug
Bruce Fischl wrote:
Hi Mayuresh,
I think if you do:
mri_convert lh.gender_age.thickness.00.mgh#0 lh.thickness.subject0.mgh
you will extract the first frame (or #1 for the second, etc...).
cheers, Bruce
On Thu, 9 Jul 2009, Mayuresh Korgaonkar wrote:
Dear Freesurfer authors,
I have been working with the command line group analysis tutorial from the freesurfer wiki website. Unfortunately I did not "qcached" my data with recon-all. So I ran the "mris_preproc" and "mri_surf2surf" commands from the tutorial (see below) at the end of which I get a single 4D file "lh.gender_age.thickness.10B.mgh" concatenated over all subjects Is there a way to split this file into 3D files so that I have a thickness file for each individual subject?
Thanks, Mayuresh
mris_preproc --fsgd gender_age.fsgd \ --target fsaverage --hemi lh \ --meas thickness \ --out lh.gender_age.thickness.00.mgh
mri_surf2surf --hemi lh \ --s fsaverage \ --sval lh.gender_age.thickness.00.mgh \ --fwhm 10 \ --cortex \ --tval lh.gender_age.thickness.10B.mgh
Love Cricket? Check out live scores, photos, video highlightsand more. Click here http://cricket.yahoo.com
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu