This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
jvs:fscan:manual:chapter3:imagekeys:threshold [2011/03/31 14:49] 127.0.0.1 external edit |
jvs:fscan:manual:chapter3:imagekeys:threshold [2023/02/23 18:43] (current) |
||
---|---|---|---|
Line 19: | Line 19: | ||
64 - fill flag (?) | 64 - fill flag (?) | ||
256 - adjust thresholds by tenths (default is whole units) | 256 - adjust thresholds by tenths (default is whole units) | ||
+ | 512 - adjust thresholds by hundredths | ||
+ | 768 - adjust thresholds by thousandths | ||
1024 - only activate thresholds within active ROI | 1024 - only activate thresholds within active ROI | ||
Note, FLAG2 lets you change only selected bits: | Note, FLAG2 lets you change only selected bits: | ||
Line 38: | Line 40: | ||
1 - set upper threshold | 1 - set upper threshold | ||
>1 - set both thresholds: | >1 - set both thresholds: | ||
- | Lower = intens - flg/2 | + | Lower = intens - flag/2 |
- | Upper = intens + flg/2 | + | Upper = intens + flag/2 |
- | | + | |
- | starting at cursor | + | NBITS: Number of low bits to use for mask bits (default 1) |
- | 8,nbits K - set bit mask to NBITS | + | |
- | | + | FLG: 1 - adjust brightness scale and threshold values |
+ | 2 - shift if necessary, but otherwise don't clear low bits | ||
+ | 010 - set 1 bit for all voxels where MASK value is non-zero | ||
+ | 020 - set 2 bit for all voxels where MASK value is non-zero | ||
+ | 030 - set 3 bit for all voxels where MASK value is non-zero | ||
+ | 7,flg, | ||
+ | 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 | ||
+ | FLG 0 - simply set io-> | ||
+ | 1 - create mask of NBITS (shift data values if nec.) | ||
+ | 2 - clear maskbits (before setting ON if FLG& | ||
+ | 4 - set mask bit ON for all thresholded | ||
9 K - show threshold values | 9 K - show threshold values | ||
K - toggle threshold on/off | K - toggle threshold on/off |