0
1.1kviews
Given 8X8 image segment. Perform erosion using the structuring element shown:
1 Answer
written 6.0 years ago by |
For erosion, we use the formula
E(x,y) = Minimum{A(x – i, y – j ) x B(i , j)}
$\hspace{30mm}$ 0 ≤ i ≤ m - 1
$\hspace{30mm}$ 0 ≤ j ≤ n - 1
Here we multiply the mask coefficients with the image values and choose the minimum value.
We place this minimum value at the position of the origin of the structuring element.