Monday, August 3, 2009

A8 – Morphological Operations

Part I. Paper and pencil
First weee predicted the effects of erosion and dilation of different shapes ,namely, square (50×50) , a triangle (base = 50 , height= 30), a circle (radius 25), a hollow square (60×60, edges are 4 pixels thick), and a plus sign (8 pixels thick and 50 pixels long for each line). Each shape is individually dilated and eroded using the following structuring elements or SE :
1. 4×4 ones
2. 2×4 ones
3. 4×2 ones
4. cross, 5 pixels long, one pixel thick.




Figure 1. Triangle ( a.) top : original shape, (b.) middle: dilation and (c.) bottom: erosion.

Figure 2. Circle ( a.) top : original shape, (b.) middle: dilation and (c.) bottom: erosion.

Figure 3. Hollow square ( a.) top : original shape, (b.) middle: dilation and (c.) bottom: erosion.

Figure 4. Square ( a.) top : original shape, (b.) middle: dilation and (c.) bottom: erosion.


Figure 5. Plus ( a.) top : original shape, (b.) middle: dilation and (c.) bottom: erosion.

'under construction'

No comments:

Post a Comment