User Tools

Site Tools


jvs:fscan:manual:chapter3:imagekeys:threshold

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
jvs:fscan:manual:chapter3:imagekeys:threshold [2012/02/21 22:47] voyvodicjvs:fscan:manual:chapter3:imagekeys:threshold [2013/01/03 22:38] voyvodic
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,Nbits,mask,flg K         6,Nbits,mask,flg K
 +            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 (ignore threshold)+               010 - set 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,fillval,datamask,low,high K       convert threshold to bit mask         7,flg,fillval,datamask,low,high K       convert threshold to bit mask
             FLG: 1-6 - same as 2K values             FLG: 1-6 - same as 2K values
jvs/fscan/manual/chapter3/imagekeys/threshold.txt · Last modified: 2024/06/21 15:44 by 127.0.0.1