Hi all,
I have an annotation for fsaverage that I would like to convert into a subject's space.
Up to now, the only way I found to do that was to convert my annotation to all its labels, and then rebuilt the annotation in the subject's space from the labels, using the following 3 steps
mri_annotation2label --annotation myAparc --hemi ?h --subject fsaverage --outdir fsaverage/label/ mri_label2label --srcsubject fsaverage --srclabel fsaverage/label/?h.label1.label --trgsubject SUBJ --regmethod surface --hemi ?h --trglabel SUBJ/label/?h.label1.label (which needs to be repeated for each label) mris_label2annot --ctab myColorLUT.txt --l ?h.label1.label [ … up to --?h.labelX.label] --s SUBJ --a myAparc --hemi ?h
That is however not really efficient for annotations including increasing numbers of labels. Is there any other way to convert more efficiently the annotation, something like an annotation2annotation command?
Thanks a lot in advance for your answer,
Marie
Sorry forget about my question, I just found that mri_surf2surf is doing a great job, probably 50 times faster than my previous 3 steps process and without any unlabelled vertices!
Thanks anyway and sorry for that,
Marie
On Jan 30, 2014, at 5:07 PM, Marie Schaer Marie.Schaer@unige.ch wrote:
Hi all,
I have an annotation for fsaverage that I would like to convert into a subject's space.
Up to now, the only way I found to do that was to convert my annotation to all its labels, and then rebuilt the annotation in the subject's space from the labels, using the following 3 steps
mri_annotation2label --annotation myAparc --hemi ?h --subject fsaverage --outdir fsaverage/label/ mri_label2label --srcsubject fsaverage --srclabel fsaverage/label/?h.label1.label --trgsubject SUBJ --regmethod surface --hemi ?h --trglabel SUBJ/label/?h.label1.label (which needs to be repeated for each label) mris_label2annot --ctab myColorLUT.txt --l ?h.label1.label [ … up to --?h.labelX.label] --s SUBJ --a myAparc --hemi ?h
That is however not really efficient for annotations including increasing numbers of labels. Is there any other way to convert more efficiently the annotation, something like an annotation2annotation command?
Thanks a lot in advance for your answer,
Marie
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.
freesurfer@nmr.mgh.harvard.edu