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 revision Previous revision
Next revision
Previous revision
jvs:fscan:manual:chapter3:imagekeys:threshold [2012/02/21 22:20]
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,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
 +               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,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.1329862835.txt.gz · Last modified: 2014/08/04 16:03 (external edit)