How to get all xy coordinates within a connected polygon.?
    3 ビュー (過去 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!

