Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
Nithya
Nithya am 13 Feb. 2014
Beantwortet: Image Analyst am 13 Feb. 2014
I have a polygon using impoly on an image.Is it possible to get all the pixel coordinates within that polygon.

Antworten (1)

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

Kategorien

Mehr zu Elementary Polygons finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by