How to get all the x,y coordinates of inner boundary of an image?
조회 수: 8 (최근 30일)
이전 댓글 표시
Mathews Jabaraj Soloman
2020년 6월 14일
댓글: Mathews Jabaraj Soloman
2020년 6월 17일
I need to draw a polygon shape boundary over the image and access all the coordinate points inside the boundary-
Please help me to draw the arbitary shape boundry over an image and store all the coordinates of [x y] in a variable.
Thanks in advance.
댓글 수: 0
채택된 답변
Image Analyst
2020년 6월 14일
See my attached freehand drawing/masking demo.
댓글 수: 3
Image Analyst
2020년 6월 17일
You can use poly2mask() and bwboundaries(). It will get the boundaries of any blobs, whether exterior or interior (holes of the donut).
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!