You are on page 1of 1

Home works

Consider the original image in the shown figure and the following structuring elements B1 and B2:
(a) Find reflect of B1.
(b) Find reflect of B2.
(c) Compute the result of dilation with the given structuring element B1 and B2.
(d) Compute the result of erosion with the given structuring element B1 and B2.
(e) Write the matlab codes for above operations.

0 0 0 0 0
0 1 0
0 0 1 0 0 1 0
B1 = 1 1 1 B2 =
A= 0 1 1 1 0 1 1
0 1 0
0 1 1 1 0
0 0 0 1 0

You might also like