From fischl@nmr.mgh.harvard.edu Fri Dec 9 16:05:49 2011 From: Bruce Fischl To: freesurfer@nmr.mgh.harvard.edu Subject: Re: [Freesurfer] tcl script question: labl_set_color Date: Fri, 09 Dec 2011 16:05:48 -0500 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9123634309541336059==" --===============9123634309541336059== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable I think you can set the outline color of each label indepently by using=20 it's index which is assigned in the order in which it is loaded I believe.=20 So in our example below =C2=A0labl_set_color 0 255 0 0, change the first "0" = to=20 a "1" for the second label. Also, I would have thought labl_select -1 would=20 deselect the label and turn off the white marks, but if not you can also=20 try calling clear_all_vertex_marks in the tcl script On Fri, 9 Dec 2011, Justin Baker wrote: > OK, right-clicking on the surface did in fact de-select the label (turning > it all to a uniform color).=C2=A0 Way to script a right-click?=C2=A0 (I see= left > click...) >=20 > Now that this is more or less working, I am looking to do something slightly > different: i.e., combine the boundaries of one set of regions, one > highlighed region, and an activation map.=C2=A0 Is there a way to fill just= one > label and leave outlines for a different set of labels in the same image?= =C2=A0 > Or alternatively set a different outline color for one label?=C2=A0 As in my > previous post, I am looking to do this via tcl script if possible. >=20 > Thanks. >=20 >=20 > On Mon, Dec 5, 2011 at 3:07 PM, Bruce Fischl > wrote: > yes, just use the -tcl