Hi Allison,

Thanks. I have used the command line below to separately create many label files, each of which include vertex number and XYZ  coordinates.
 mri_annotation2label --subject BNC006 --hemi lh --labelbase aparc.a2009

Sorry for not declaring my intention previously. What I actually want to do is utilizing the gray ROIs recorded in aparc.a2009s+aseg.mgz to generate the average time courses of each ROI from BOLD fMRI scanned from the same subject. Can you give some advice how to accurately make it. Also, I am worried the registeration issues across different modality images.

Best,
Liang

2010/3/11 Allison Stevens <astevens@nmr.mgh.harvard.edu>
Liang,
mri_annotation2label will separate all the ROIs in the ?h.aparc.a2009s.annot - is this what you need? I'm not sure what you mean by "mask image based on this image using 1, 2". You can merge or split labels as well.

To display aparc.a2009s+aseg.mgz in tkmedit, you can do:
tkmedit subjid orig.mgz -segmentation aparc.a2005s+aseg.mgz

Allison
--

On Wed, 10 Mar 2010, liang wang wrote:

Hi FS experts,

Does anyone know how to extract these ROIs (including all gyral and sulci)
from the image <aparc.a2009s+aseg.mgz>. I just want to create a mask image
based on this image by using 1, 2, .. to code different brain areas. Thanks
for your solutions.

Also, I can not display the image using the following command: tkmedit
subjid orig -aux brain -aparc.a2009s+aseg.mgz, but can correctly display
<aparc+aseg.mgz>. Any advise would be appreciated.

Liang




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.




--
Liang Wang, PhD
Postdoctoral Fellow
Woodward Lab
Department of Psychiatry
University of British Columbia
BC Mental Health & Addiction Services
938 West 28th Avenue
Vancouver BC V5Z 4H4
Telephone: 1-604-875-2000 (ext. 4735)
Fax: 1-604-875-3871
Email: wanglbit@gmail.com