According to the thefreedictionary.com morphology is the form and structure of anything. And, perhaps in this post we will not be dealing with "anything" but nevertheless we will be dealing with form and structure. To start off, let me introduce four (4) shapes that we will be working with: (1) a 5 x 5 square, (2) a triangle with 4 boxes as base and 3 boxes as height, (3) a 10 x 10 hollow square whose walls are 2 boxes thick, and lastly (4) a cross that's 1 box thick and 5 boxes along the horizontal and vertical.
Now let us look at the structuring elements or SE
Figure 2.Structuring Elements (SE) |
Given the 5 different structuring elements, our task is to perform erosion and dilation in each individual object. Therefore, starting with erosion:
We now move on to dilation,
Lastly, the function thin in Scilab outputs the "internal skeleton" or a thinner version of the input. Also, the function skel acts in a similar manner.
In this activity, I will give myself a grade of 8 out of 10.
Thanks goes to Eloise Anguluan. Her step by step post on how to erode and dilate helped me a lot. Thanks also to Jen-Jen's post.
God bless everyone!
References:
1 Soriano, M. Morphological Operations. 2010. Applied Physics 186 Activity Manual
No comments:
Post a Comment