how to use binary morphological operations for corner detection

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 日

1 投票

I don't think you can, but if the shape is convex, you can use this FEX tool instead,

質問済み:

2021 年 4 月 9 日

編集済み:

2021 年 4 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by