If A is the image and B is the structuring element then dilation is defined as
Erosion, on the other hand, is defined as
Structuring Element 1: 4 X 4 ones





Structuring Element 2: 2 x 4 ones





Structuring Element 3: 4 x 2 ones





Structuring Element 4: Cross , 5 pixels long and 1 pixel thick





Before simulation, I first tried to predict the results of erosion and dilation and they were correct. Here they are...
I also explored other morphological operations like skel and thin.
Skel stands for skeletonization. According to the Scilab Help, the skeletons are computed using the euclidian metric and are connected over all scales of simplification. When applied to the previous images, the results are...





The function thin performs border deletion using Zhang Suen technique. According to the Scilab Help, the resulting image is not always connected and is very sensible to noise. Thin works well with thin images, but not so well with thicker images.





References
[1] Morphological Operations, Ap 186 Activity 8 Manual
[2] Scilab Help Browser
No comments:
Post a Comment