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

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 
-                     - flood fill voxels between low and high vals,   +        6,Nbits,mask,flg K 
-                           starting at cursor  (uses 1 bit, sets FILL flag) +            NBITS: Number of low bits to use for mask bits (default 1) 
-        8,nbits K        - set bit mask to NBITS +            MASK:  Bit mask for sampling high data bits (default is -NBITS-1 ) 
-        8,min,max K      adjust filled voxels, starting at cursor+            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,fillval,datamask,low,high K       convert threshold to bit mask 
 +            FLG: 1-6 - same as 2K values 
 +                 010 - clear low bits before setting mask 
 +                 020 - use 2 bits for mask 
 +        8,nbits,flg    - set bit mask to NBITS 
 +                 FLG  0 simply set io->maskbits to nbits (default) 
 +                      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         9 K              - show threshold values
         K                - toggle threshold on/off         K                - toggle threshold on/off
jvs/fscan/manual/chapter3/imagekeys/threshold.1301582953.txt.gz · Last modified: 2014/08/04 16:03 (external edit)