Re: [Freesurfer] converting annotation values to label codes

2011-11-03 Thread Douglas N Greve
When you created your custom annotation, you passed mris_label2annot a 
color table. If you numbered the entries in the color table from 1 to N, 
then the output volume should have values 1000+N (left) and 2000+N 
(right). You can verify this by loading the seg as both a segmentation 
and an overlay as I have described before.
doug

David Grayson wrote:

 Hi,

  

 I have converted a custom-made annotation file to a volume, and now I 
 am trying to find a table with the labels and their corresponding 
 label codes (index values which are created when the annotation file 
 is converted to a volume). I only have the “annotation values” or 
 color codes for each region, which I found with the read_annotation() 
 function in matlab. The online wiki states that this color code then 
 has to be used to look up the label code, but it’s unclear to me how 
 to do this.

  

 Is there be a table somewhere so that I can cross-reference the color 
 codes to the label codes?

  

 Thank you,

  

 David

 

 ___
 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
gr...@nmr.mgh.harvard.edu
Phone Number: 617-724-2358 
Fax: 617-726-7422

Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
FileDrop: www.nmr.mgh.harvard.edu/facility/filedrop/index.html

___
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] converting annotation values to label codes

2011-11-02 Thread David Grayson
Hi,

I have converted a custom-made annotation file to a volume, and now I am trying 
to find a table with the labels and their corresponding label codes (index 
values which are created when the annotation file is converted to a volume). I 
only have the “annotation values” or color codes for each region, which I found 
with the read_annotation() function in matlab. The online wiki states that this 
color code then has to be used to look up the label code, but it’s unclear to 
me how to do this.

Is there be a table somewhere so that I can cross-reference the color codes to 
the label codes?

Thank you,

David
___
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.