Skip to content

nahid0335/Morphologycal-edge-detection-using-erosion-and-dialation

Repository files navigation

Morphologycal-edge-detection-using-erosion-and-dialation

the task is to detect object boundary using erosion or dialation .
Here, use the kernel or structure element such as 3x3
1 1 1
1 1 1
1 1 1

if initial binary image is A and after erosion we get B
then , boundary = A - B


for dialation ,
boundary = B - A

input image

This is an image

erosion output

This is an image

boundary detection from erosion

This is an image

dialation output

This is an image

boundary detection from dialation

This is an image

About

Morphological edge detection or object's boundary detection using erosion and dialation in OpenCV python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages