Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How can I segment and label edges in a binary matrix?

1 回表示 (過去 30 日間)
Neuroesc
Neuroesc 2024 年 9 月 20 日
閉鎖済み: DGM 2024 年 9 月 24 日
I have a binary matrix that contains a polygon with different edges and vertices. Edges are false, non-edges are true. I would like to detect the edges of the polygon (i.e. lines with different orientations) like this:
The aim would be to get an output Matrix, the same size as my input one, where the edge values are labelled according to which edge they correspond to.
I have looked through Matlab's segmentation and edge detection functions but can't seem to find anything that does this.
Thanks for any help.

回答 (0 件)

この質問は閉じられています。

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by