erosion_dialation
kernel is used such as 5×5
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
in erosion have to match all value in kernel with input image. in dialation have to match any value in the kernel with input value .
kernel is used such as 5×5
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
in erosion have to match all value in kernel with input image. in dialation have to match any value in the kernel with input value .