This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
jvs:fscan:manual:chapter3:imagekeys:threshold [2012/02/21 22:47] voyvodic |
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 |
6, | 6, | ||
+ | NBITS: Number of low bits to use for mask bits (default 1) | ||
+ | MASK: Bit mask for sampling high data bits (default is -NBITS-1 ) | ||
FLG: 1 - adjust brightness scale and threshold values | FLG: 1 - adjust brightness scale and threshold values | ||
2 - shift if necessary, but otherwise don't clear low bits | 2 - shift if necessary, but otherwise don't clear low bits | ||
- | 040 - set mask bit for all non-zero voxels | + | 010 - set 1 bit for all voxels where MASK value is non-zero |
+ | 020 - set 2 bit for all voxels | ||
+ | 030 - set 3 bit for all voxels where MASK value is non-zero | ||
7, | 7, | ||
FLG: 1-6 - same as 2K values | FLG: 1-6 - same as 2K values |