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!