0
2.0kviews
Given 7X7 image segment. Perform dilation using the structuring element shown:
1 Answer
written 6.0 years ago by |
For dilation, we use the formula
E(x,y) = Maximum{A(x – i, y – j ) x B(i , j)}
0 ≤ i ≤ m - 1
0 ≤ j ≤ n - 1
Here we multiply the mask coefficients with the image values and choose the minimum value.
We place this maximum value at the position of the origin of the structuring element.