Hey Doug --

I ended up doing something like this, which worked:

labl_load rh.G_and_S_paracentral.label ; labl_set_color 0 255 255 0
labl_load rh.G_front_inf-Opercular.label ; labl_set_color 1 255 255 15
labl_load rh.G_insular_short.label ; labl_set_color 2 255 255 30
labl_load rh.G_occipital_sup.label ; labl_set_color 3 255 255 45
labl_load rh.G_oc-temp_med-Lingual.label ; labl_set_color 4 255 255 60



On 4/4/14, 15:50 , Douglas N Greve wrote:
>
> You can use mris_label2annot to create an annotation and then control
> the colors via the ctab
> doug
>
> On 04/03/2014 09:13 AM, Rudolph Pienaar wrote:
>> Hi all --
>>
>> I have a process that generates a list of ROIs (from aparc.annot) based
>> on some cost condition. I wanted to view these labeled ROIs in
>> 'tksurfer'. I created the following rough tcl script:
>>
>> 'label_load.tcl'
>>
>> set label lh.bankssts.label ; read_and_color_labeled_vertices 255 255 0
>> set label lh.caudalanteriorcingulate.label ;
>> read_and_color_labeled_vertices 255 255 10
>> set label lh.caudalmiddlefrontal.label ; read_and_color_labeled_vertices
>> 255 255 20
>> set label lh.cuneus.label ; read_and_color_labeled_vertices 255 255 30
>> set label lh.inferiorparietal.label ; read_and_color_labeled_vertices
>> 255 255 40
>> set label lh.lateraloccipital.label ; read_and_color_labeled_vertices
>> 255 255 50
>>
>> and then ran with
>>
>>      tksurfer <subj> <hemi> <surface> -tcl label_load.tcl
>>
>> The labels all load, but they are all the same teal-like color. I'm
>> guessing that I am using the wrong tksurfer internal command... I have
>> looked through the wiki, but didn't immediately see a solution.
>>
>> Help?
>>
>> Best
>> -=R
>>
>


-- 
Rudolph Pienaar, M.Eng, D.Eng / email: rudo...@nmr.mgh.harvard.edu
MGH/MIT/HMS Athinoula A. Martinos Center for Biomedical Imaging
149 (2301) 13th Street, Charlestown, MA 02129 USA
_______________________________________________
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.

Reply via email to