Dear FreeSurfer experts,
I would like to get labels, get them in MNI305 space and to
visualize them on the brain.mgz, which to be in MNI305.
I used following:
a) To get labels in MNI
$FREESURFER_HOME/bin/make_average_subject --out asub1
--subjects sub1
#creat labels
mkdir $SUBJECTS_DIR/sub1/labels
$FREESURFER_HOME/bin/mri_annotation2label --subject sub1 --hemi lh --outdir
#transform label to MNI305
$FREESURFER_HOME/bin/mri_label2label --srcsubject sub1 --srclabel
$SUBJECTS_DIR/sub1/labels/lh.precentral.label --trgsubject asub1 --trglabel
$SUBJECTS_DIR/sub1/labels/lh.precentral_mni305.label --regmethod surface
--hemi lh
b) To visualize
tkregister2 --mov
$SUBJECTS_DIR/asub1/mri/brain.mgz --noedit --s asub1 --regheader --reg
$SUBJECTS_DIR/asub1/mri/register.dat
$FREESURFER_HOME/bin/mri_label2vol
--label ./lh.postcentral_mni305.label --temp $SUBJECTS_DIR/asub1/mri/brain.mgz
--subject asub1 --hemi lh --o asub1_lh_postcentral305.nii.gz --reg
$SUBJECTS_DIR/asub1/mri/register.dat
$FREESURFER_HOME/bin/mri_convert
$SUBJECTS_DIR/asub1/mri/brain.mgz $SUBJECTS_DIR/asub1/mri/abrain305.nii.gz
Is this correct?
Thank you.
Peka
_______________________________________________
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.