Effacer les filtres
Effacer les filtres

How to get all the x,y coordinates of inner boundary of an image?

1 vue (au cours des 30 derniers jours)
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.

Réponse acceptée

Image Analyst
Image Analyst le 14 Juin 2020
See my attached freehand drawing/masking demo.
  3 commentaires
Image Analyst
Image Analyst le 17 Juin 2020
You can use poly2mask() and bwboundaries(). It will get the boundaries of any blobs, whether exterior or interior (holes of the donut).
Mathews Jabaraj Soloman
Mathews Jabaraj Soloman le 17 Juin 2020
Yes, I will try that too
thanks again

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by