This shows you the differences between two versions of the page.
jvs:fscan:manual:chapter3:imagekeys:threshold [2012/02/21 22:20] voyvodic |
jvs:fscan:manual:chapter3:imagekeys:threshold [2023/02/23 18:43] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | **fScan Reference Manual, Chapter 3 (KeyCmds: | ||
- | ===== Thresholds -- Control display thresholding features ===== | ||
- | **usage: mode, | ||
- | |||
- | The interactive ' | ||
- | |||
- | The following summarizes how the K command is used: | ||
- | |||
- | MODE: 0 K - turn off thresholds | ||
- | 1 K - turn on thresholds | ||
- | 2, | ||
- | FLAG: 1 - must be >= low thresh | ||
- | 2 - must be <= high thresh | ||
- | 4 - either >= low thresh OR <= high thresh (low> | ||
- | 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, | ||
- | Lower threshold is set to VAL | ||
- | Allowable range for lower threshold can be | ||
- | | ||
- | 4, | ||
- | Upper threshold is set to VAL | ||
- | Allowable range for upper threshold can be | ||
- | | ||
- | 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 | ||
- | 6, | ||
- | FLG: 1 - adjust brightness scale and threshold values | ||
- | 2 - shift if necessary, but otherwise don't clear low bits | ||
- | 7, | ||
- | FLG: 1-6 - same as 2K values | ||
- | 010 - clear low bits before setting mask | ||
- | 020 - use 2 bits for mask | ||
- | 8,nbits,flg K - set bit mask to NBITS | ||
- | | ||
- | 1 - create mask of NBITS (shift data values if nec.) | ||
- | 2 - clear maskbits (before setting ON if FLG&1) | ||
- | 4 - set mask bit ON for all thresholded voxels | ||
- | 9 K - show threshold values | ||
- | K - toggle threshold on/off | ||
- | |||
- | **See Also:**\\ | ||
- | [[jvs: | ||
- | [[jvs: | ||
- | [[jvs: | ||
- | [[jvs: | ||
- | [[jvs: | ||