Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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.

Respuesta aceptada

Image Analyst
Image Analyst el 14 de Jun. de 2020
See my attached freehand drawing/masking demo.
  3 comentarios
Image Analyst
Image Analyst el 17 de Jun. de 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 el 17 de Jun. de 2020
Yes, I will try that too
thanks again

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by