How to get all the x,y coordinates of inner boundary of an image?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Mathews Jabaraj Soloman
am 14 Jun. 2020
Kommentiert: Mathews Jabaraj Soloman
am 17 Jun. 2020
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 Kommentare
Akzeptierte Antwort
Image Analyst
am 14 Jun. 2020
See my attached freehand drawing/masking demo.
3 Kommentare
Image Analyst
am 17 Jun. 2020
You can use poly2mask() and bwboundaries(). It will get the boundaries of any blobs, whether exterior or interior (holes of the donut).
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!