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
>

-- 
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: https://gate.nmr.mgh.harvard.edu/filedrop2
www.nmr.mgh.harvard.edu/facility/filedrop/index.html
Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/

_______________________________________________
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