Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Nithya
Nithya le 13 Fév 2014
I have a polygon using impoly on an image.Is it possible to get all the pixel coordinates within that polygon.

Réponses (1)

Image Analyst
Image Analyst le 13 Fév 2014
allPixels = grayImage(maskImage); % 1D vector of all the pixels inside the mask only.

Catégories

En savoir plus sur Elementary Polygons dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by