next up previous index
Next: ``4D_Morphology'' - 4D mathematical Up: Morphology Previous: ``Grayscale_Closing'' - morphological grayscale

``Conditional_Dilation'' - conditional dilation

VFX name:
iCondDilate
IMPROMPTU Equivalent:
Conditional_Dilation
purpose:
Perform a conditional dilation [21,25].

Specifically, this function performs a dilation on an input volume, conditioning (set intersection) the dilated result on another (different!) volume. The function is often iterated a number of times after first doing a large erosion on the input volume - this combination of functions removes thin attachments.

input:
Two binary-valued 8-bit volumes.
output:
An 8-bit binary-valued volume.
parameters:
Default parameters menu is
dimension = 2-D(4-conn_xy)
iterations = to completion
option = rectilinear
cond_volume = 1
The parameter ``dimension'' toggles between ``2-D(4-conn_xy)'' (do a 2-D transverse plane analysis) and ``3-D'' (do a 3-D analysis).

The parameter ``iterations'' specifies how many conditional dilations are done. Leaving this parameter at ``iterations = to completion'' will force conditional dilations to be done until no more voxels can be added (i.e., any voxels added will go outside the extent of the objects in the conditioning volume).

The ``option'' toggles between various connectivity possibilities, as with ``erode''.

comments:
1.
Each iteration takes slightly longer than the corresponding dilation.



MultiDimensional Image Processing Lab, Penn State University