Classification of 2D Objects by Length

Building the Workspace in Cantata


To build a workspace to experiment with Classification of 2D Objects by Length:
  1. Select and Display the image $MMACH/viff/elipses.xv using the operators User Defined and Display Image.

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

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

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

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

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

  7. Apply a Skel.by Thin. skeletonization by thinning on the elipses image. Set the rotation step to 1 and use the structuring elements number 3 (first struct. elem.) and number 2 (second struct. elem.).

  8. Apply a N-Thinning to the last result setting the number of thinnings to 63 and the rotation step to 1. Use the structuring elements number 1 (first struct. elem.) and number 4 (second struct. elem.).

  9. Apply an Opening by Reconstr. using as first input elipses.xv, as second input the result of the N-Thinning and as third input the structuring element number 5.

  10. Visualize the result.