Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
How can I segment and label edges in a binary matrix?
조회 수: 1 (최근 30일)
이전 댓글 표시
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1776640/image.png)
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.
댓글 수: 1
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!