How to get all xy coordinates within a connected polygon.?
조회 수: 2 (최근 30일)
이전 댓글 표시
I have a polygon using impoly on an image.Is it possible to get all the pixel coordinates within that polygon.
댓글 수: 0
답변 (1개)
Image Analyst
2014년 2월 13일
allPixels = grayImage(maskImage); % 1D vector of all the pixels inside the mask only.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!