Opening by Reconstruction Operator

Building the Cantata Workspace


To build a workspace to experiment with the opening by reconstruction operator:
  1. Select and Display the image $MMACH/viff/numbers.viff using the operators User Defined and Display Image.

  2. Generate a 3x3 Str.El. Flat Structuring Element like the following:
               0 1 0
               0 1 0  Structuring element 
               0 1 0
    

  3. To build the markers, apply 4 erosions using the N-Erosion operator and the previous structuring element.

  4. Generate a 3x3 Str.El. Flat Structuring Element like the following:
               1 1 1
               1 1 1  Structuring element used
               1 1 1
    
  5. Apply the Opening by Reconstr. operator using as first input numbers.viff, as second input the markers and as third input the structuring element.

  6. Visualize the result using the Display Image.

Exercises