Note: you can run each command with --help to get info
something like
mni152reg --s subject
to create the registration file (it will go into
$SUBJECTS_DIR/$subject/mri/transforms/reg.mni152.2mm.dat
then something like
mri_label2vol --seg $SUBJECTS_DIR/$subject/mri/aseg.mgz --reg
$SUBJECTS_DIR/$subject/mri/transforms/reg.mni152.2mm.dat
--o aseg.$subject.mni152.nii
doug
On 11/25/2013 11:09 AM, ebelleau@uwm.edu wrote:
> Hi Douglas,
>
> Thanks for the reply. I am very new to Freesurfer and am more used to scripting with AFNI.
>
> Would you mind giving me a bit of sample code to get used to what this may look like? Can I script this in a .tcsh file?
>
> Also, once I convert the aseg to MNI space, can I simply average or add the individual masks (which could be done in afni) or is there a better way to do this in Freesurfer?
>
> Also, is this a linear or non-linear warp?
>
> Thanks,
>
> Emily
>
> ----- Original Message -----
> From: "Douglas N Greve" <greve@nmr.mgh.harvard.edu>
> To: freesurfer@nmr.mgh.harvard.edu
> Sent: Thursday, November 21, 2013 12:57:07 PM
> Subject: Re: [Freesurfer] Warping to MNI space
>
>
> Do you mean the aseg.mgz for an individual? If so, you can run mni152reg
> to register that subject to mni152space. Next you can run mri_label2vol
> to map the aseg to the 152 space.
> doug
>
>
> On 11/17/2013 07:26 PM, ebelleau@uwm.edu wrote:
>> Hello,
>>
>> I plan on using the aseg.nii to create a grey matter mask. I want to warp these grey matter masks to MNI space. I have been trying to use @auto_tlrc in AFNI to do this warping but am having some trouble.
>>
>> The reason I need this in MNI space is because I plan to make a group grey matter mask that I use to restrict my funtional fmri data analysis, which is in MNI space (MNI_avg_152T1).
>>
>> How might I go about doing the warping and I wanted to double check the order of doing things? Should I create the grey matter masks first then warp to MNI? Or do I warp the aseg files to MNI and then create the grey matter masks?
>>
>> Thanks so much!
>>
>> Emily
>> _______________________________________________
>> 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 is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.