フィルターのクリア

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

2 ビュー (過去 30 日間)
Nithya
Nithya 2014 年 2 月 13 日
回答済み: Image Analyst 2014 年 2 月 13 日
I have a polygon using impoly on an image.Is it possible to get all the pixel coordinates within that polygon.

回答 (1 件)

Image Analyst
Image Analyst 2014 年 2 月 13 日
allPixels = grayImage(maskImage); % 1D vector of all the pixels inside the mask only.

カテゴリ

Help Center および File ExchangeElementary Polygons についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by