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

-- 
Douglas N. Greve, Ph.D.
MGH-NMR Center
greve@nmr.mgh.harvard.edu
Phone Number: 617-724-2358 
Fax: 617-726-7422

In order to help us help you, please follow the steps in:
surfer.nmr.mgh.harvard.edu/fswiki/BugReporting