how to use binary morphological operations for corner detection

1 view (last 30 days)
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.

Answers (1)

Matt J
Matt J on 9 Apr 2021
Edited: Matt J on 9 Apr 2021
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!