27
Example 1 to Try
0 0
1
0 0
1
0 0
0 0
1 1 1 1 1
0
1 1 1 1 1 1
0 0
1 1 1 1 1 1 1 1
0 0
1 1 1 1
0 0
0 0
1 1 1 1
0 0
0 0
1 1 1 1
0 0
1 1 1
1
1
1
1 1 1
erode
dilate with same
structuring element
S
B