How to get all xy coordinates within a connected polygon.?
1 view (last 30 days)
Show older comments
I have a polygon using impoly on an image.Is it possible to get all the pixel coordinates within that polygon.
0 Comments
Answers (1)
Image Analyst
on 13 Feb 2014
allPixels = grayImage(maskImage); % 1D vector of all the pixels inside the mask only.
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!