User Tools

Site Tools


jvs:fscan:manual:chapter2:expression:dilate

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
Next revision Both sides next revision
jvs:fscan:manual:chapter2:expression:dilate [2012/04/22 16:22]
voyvodic
jvs:fscan:manual:chapter2:expression:dilate [2015/02/06 17:30]
voyvodic
Line 1: Line 1:
 **fScan Reference Manual, Chapter 2 (CmdLineOptions:Expr): Dilate** **fScan Reference Manual, Chapter 2 (CmdLineOptions:Expr): Dilate**
-===== Dilate -- Dilate the edges of an intensity region in a 3D image volume ==========+===== Dilate -- Expand an intensity region in a 3D image volume =====
  **usage:  -expr dilate val maskbits newval flag nmatch nneighbors**\\  **usage:  -expr dilate val maskbits newval flag nmatch nneighbors**\\
  
-If MASKBITS is non-zero, it is used to mask both the input data values and NEWVAL; only those data bits are considered during comparisons and only the NEWVAL bits are changed during dilation.+  * VAL - "Inside" value (or Percent value if (FLAG & (4|8)) 
 +  * MASKBITS - voxel data values to consider for comparing with VAL (DATABITS is inverse of MASKBITS) 
 +  * NEWVAL bit-value to turn on when adding (dilating) a voxel\\ 
 +    * If NEWVAL is negative and MASKBITS is zero, then the input data voxel value will be used when dilating into neighboring voxels.
  
-If NEWVAL is negative and MASKBITS is zero, then the input data voxel value will be used when dilating into neighboring voxels.+  * FLAG: 
 +    * 0 - (default) 
 +    * 1 -  
 +    * 2 - Erode/dilate in 2-D plane only 
 +    * 4 - Stop on dark edge (voxel darker than (100-VAL)% of inside neighbors (Needs MASKBITS set) 
 +    * 8 - Stop on bright edge (brighter than (100+VAL)% of inside neighbors 
 +    * 16 - Dilate all non-zero values except VAL (useful for filling in around VAL areas) 
 +  * NMATCH - number of adjacent voxels matching criterion needed for dilation (default=1) 
 +  * NNEIGHBORS - number of neighboring voxels to consider (default=26 if 3D, 8 if 2D) 
 + 
 +If MASKBITS is non-zero, it is used to mask both the input data values and NEWVAL; only those data bits are considered during comparisons and only the NEWVAL bits are changed during dilation.
  
 **See Also:**\\ **See Also:**\\
 [[jvs:fscan:manual:chapter2:expression:erode|ERODE]], [[jvs:fscan:manual:chapter2:expression:erode|ERODE]],
-[[jvs:fscan:manual:chapter2:expression:flood|FLOOD],+[[jvs:fscan:manual:chapter2:expression:flood|FLOOD]],
  
 [[jvs:fscan|fScan Home]],  [[jvs:fscan|fScan Home]], 
jvs/fscan/manual/chapter2/expression/dilate.txt · Last modified: 2023/02/23 18:43 (external edit)