How to get all xy coordinates within a connected polygon.?

1 visualización (últimos 30 días)
Nithya
Nithya el 13 de Feb. de 2014
Respondida: Image Analyst el 13 de Feb. de 2014
I have a polygon using impoly on an image.Is it possible to get all the pixel coordinates within that polygon.

Respuestas (1)

Image Analyst
Image Analyst el 13 de Feb. de 2014
allPixels = grayImage(maskImage); % 1D vector of all the pixels inside the mask only.

Categorías

Más información sobre Images en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by