To build a workspace to experiment with the Close Holes operator:
Select and Display the image $MMACH/viff/closeholes.xv
using the operators User Defined and
Display Image.
Select and Display the image $MMACH/viff/edges.xv
using the operators User Defined and
Display Image. This image will be used as a marker image to the opening
by reconstruction.
Apply the morphological Negation to the first image (closeholes.xv).
Generate a 3x3 Str.El. Flat Structuring Element like the following:
1 1 1
1 1 1 Structuring element used
1 1 1
Apply the Opening by Reconstr. operator using as first input the result of the negation, as second input edges.xv and as third input the structuring element.