how to use binary morphological operations for corner detection

8 次查看(过去 30 天)
How to use binary morphological operations (such as subtract, erosion, dilation, open, close, connected components, etc.) to count the total number of angles in the image. For instance, a triangle has 3 angles, and a rectangle has 4 angles, etc. The image is a binary image.

回答(1 个)

Matt J
Matt J 2021-4-9
编辑:Matt J 2021-4-9
I don't think you can, but if the shape is convex, you can use this FEX tool instead,

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by