next up previous index
Next: ``Minimum'' - local minimum Up: Morphology Previous: ``Binary_Opening'' - morphological binary

``Binary_Closing'' - morphological binary closing

VFX name:
iBinClose
IMPROMPTU Equivalent:
Binary_Closing
purpose:
Perform a binary morphological closing; i.e., a dilation followed by an erosion [25,19]. The size of the structuring element used for the erosion and dilation is given by the parameters ``x_filter_dimension'', etc.

Overall, this function smooths the surfaces of objects. It fills narrow inlets and small cavities of objects. It also will connect up narrowly separated objects.

input:
An 8-bit volume.
output:
An 8-bit binary-valued volume.
parameters:
Default parameters menu is
x_filter_dim = 3
y_filter_dim = 3
z_filter_dim = 3
option = rectilinear
The same options exist for ``option'', as for ``erode'', etc.
comments:
1.
This is moderately fast, taking as long as one erosion and one dilation.
2.
This operation is idempotent; i.e., iterating the operation has no impact on the results.



MultiDimensional Image Processing Lab, Penn State University