how to use binary morphological operations for corner detection
Show older comments
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)
I don't think you can, but if the shape is convex, you can use this FEX tool instead,
Categories
Find more on Morphological Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!