This is an old revision of the document!
fScan Reference Manual, Chapter 3 (KeyCmds:ImageKeys): thresholds
usage: mode,options K
The interactive 'K' command is used to control all thresholding parameters. The THRESH Taskbar icons provide a graphical user interface (GUI) for the 'K' command. For a general introduction to intensity thresholding in fScan, see Thresholding Overview.
The following summarizes how the K command is used:
MODE: 0 K - turn off thresholds 1 K - turn on thresholds 2,flag,flag2 K - set threshold flag FLAG: 1 - must be >= low thresh 2 - must be <= high thresh 4 - either >= low thresh OR <= high thresh (low>high) 8 - only show boundaries of threshold region 16 - high thresh is band-width must be >= low AND <= (low+high) 32 - threshold is flagged by low data bit or bits (see Mode=8 below) 64 - fill flag (?) 256 - adjust thresholds by tenths (default is whole units) 1024 - only activate thresholds within active ROI Note, FLAG2 lets you change only selected bits: FLAG2= -1 - set bits to FLAG (default) 0 - turn off bits in FLAG 1 - turn on bits in FLAG 2 - toggle bits in FLAG 3,val,min,max K - set lower threshold values Lower threshold is set to VAL Allowable range for lower threshold can be clamped to MIN - MAX 4,val,min,max K - set upper threshold values Upper threshold is set to VAL Allowable range for upper threshold can be clamped to MIN - MAX 5,flag K - set threshold(s) to value at cursor FLAG 0 - set lower threshold 1 - set upper threshold >1 - set both thresholds: Lower = intens - flg/2 Upper = intens + flg/2 7 K - flood fill voxels between low and high vals, starting at cursor (uses 1 bit, sets FILL flag) 8,nbits K - set bit mask to NBITS 8,min,max K - adjust filled voxels, starting at cursor 9 K - show threshold values K - toggle threshold on/off
See Also:
fScan Home,
fScan Manual,
KeyCmds,
ImageKeys,
Manual Help