There are is nothing that simple, as it does all the threshold
calculating in the tcl code. You can use:

set gaLinkedVars(fopaqueflag) <1 or 0>
SendLinkedVarGroup overlay

to turn on and off the opaque flag, and:

set gaLinkedVars(fthresh) <float>
set gaLinkedVars(fmid) <float>
set gaLinkedVars(fslope) <float>
SendLinkedVarGroup overlay

to change the threshold values. When in 'linear' mode, the tcl code
disables the mid and slope fields and calculates fthresh/fmid/fslope
from the min and max you enter, and then sends those values back to
tksurfer.


On Fri, 2007-04-13 at 20:09 -0400, [EMAIL PROTECTED] wrote:
> What is the corresponding tcl variable called (i.e. the one that selects
> between the three options Linear/Linear Opaque/Piecewise)?
> 
> Thanks,
> 
> Tommi
> 
> 
> > Kevin has now implemented this in tkmedit in dev.
> >
> > doug
> >
> > Doug Greve wrote:
> >
> >>
> >> Kevin has just made a change to the default way that the DEV version
> >> of tksurfer displays colors in overlays. The change has to do with the
> >> way the color is displayed near the threshold (fthresh). Previously,
> >> as a superthreshold value approached the threshold, its color and
> >> opacity would change. The result was that voxels at or just above
> >> threshold would be transparent, making them look like they were not
> >> active. The default now is to make them opaque regardless of value (as
> >> long as they are above threshold).
> >>
> >> When you look at the overlay configuation GUI, you will now see three
> >> items under "Threshold":
> >>
> >> Linear
> >> Linear Opaque
> >> Piecewise
> >>
> >> By default, "Linear Opaque" will be checked. To use the old behavior,
> >> check "Linear".
> >>
> >> Note that you can still control the overall opacity with the slider at
> >> the top of the GUI.
> >>
> >> Kevin is working on changing tkmedit. I'll let you know when that is
> >> ready.
> >>
> >> doug
> >>

-- 
Kevin Teich

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to