Use mri_surf2vol to do this. Soemthing like
mri_surf2vol --surfval rh.36...mgh --hemi rh --fillribbon --subject fsaverage --template $SUBJECTS_DIR/fsaverage/mri/orig --o yourvolume.nii
doug
On 3/11/14 10:10 PM, charujing123 wrote:
Hi Bruce, Thanks Bruce. I knew that code, but I have no idea to deal with my problem after reading the help. Would you please tell me how to use mri_surf2vol after I describe my problem details? I have a file named rh.36sb.score.thickness.10.mgh which is created from the "mris_preproc --fsgd $FSGDFILE --target fsaverage --hemi $style --meas thickness --out ${style}.${FSGDFILE%_*}.00.mgh". I want to convert this file into nii format volume-based, so I can read it by AFNI. Thanks. All the best. Rujing Zha 2014-03-12
charujing123
*???:*Bruce Fischl fischl@nmr.mgh.harvard.edu *????:*2014-03-12 09:44 *??:*Re: [Freesurfer] convert sig.mgh into *.nii *???:*"charujing123"charujing123@163.com *??:*"freesurfer@nmr.mgh.harvard.edu"freesurfer@nmr.mgh.harvard.edu try mri_surf2vol with the output volume named .nii cheers Bruce On Wed, 12 Mar 2014, charujing123 wrote:
Hi doug, Thanks doug. I try this code, but it represent two dimension for each subject data when
loaded in the AFNI. Is there any code to volume-based conversion from mgh to
nii? All the best. Rujing Zha
2014-03-12
charujing123
?? ?:Douglas N Greve greve@nmr.mgh.harvard.edu ????:2014-03-12 00:16 ??:Re: [Freesurfer] convert sig.mgh into *.nii ?? ?:"freesurfer"freesurfer@nmr.mgh.harvard.edu ??:
mri_convert file.mgh file.nii
doug
On 03/11/2014 05:55 AM, charujing123 wrote:
Hi FS experts, I want to extract time course from sig.mgh. But the *.y.ocn.mgh cannot
be created. So I want to view it in other formats, such as nii. So how
to convert it into nii format. Thanks. All the best. Rujing Zha 2014-03-11
?? ?> charujing123
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
Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2 www.nmr.mgh.harvard.edu/facility/filedrop/index.html Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/
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 i
s addressed. If you believe this e-mail was sent to you in error and the e-ma
il contains patient information, please contact the Partners Compliance HelpLi
ne at http://www.partners.org/complianceline . If the e-mail was sent to you in e
rror but does not contain patient information, please contact the sender and pro
perly dispose of the e-mail.
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer