Hi, for a group of subjects, I was interested in getting ascii files for each subjects' thickness, resampled to an average subject. I know how to do the resampling using something like:
mris_preproc --fsgd fsgd.txt --target average --hemi lh --meas thickness --out file.mgh
but was wondering what I'd need to do to get individual files that can be read by a text editor, rather than the one big mgh file. Is there some kind of flag or subsequent command I can add to do that?
Thanks,
-Aaron-
We don't have anything to convert from mgh to ascii, but you can read it into matlab with
a = MRIread('file.mgh');
The data are then in a.vol
doug
Goldman, Aaron (NIH/NIMH) [C] wrote:
Hi, for a group of subjects, I was interested in getting ascii files for each subjects' thickness, resampled to an average subject. I know how to do the resampling using something like:
mris_preproc --fsgd fsgd.txt --target average --hemi lh --meas thickness --out file.mgh
but was wondering what I'd need to do to get individual files that can be read by a text editor, rather than the one big mgh file. Is there some kind of flag or subsequent command I can add to do that?
Thanks,
-Aaron-
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu