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
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
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
freesurfer@nmr.mgh.harvard.edu