フィルターのクリア

number of pixels inside circles of different radius on a single picture

2 ビュー (過去 30 日間)
Dhandapani.S
Dhandapani.S 2015 年 1 月 6 日
コメント済み: Dhandapani.S 2015 年 1 月 26 日
i wanted to draw circles with different radius on a picture and count number of pixels inside each circle coverage..

採用された回答

Image Analyst
Image Analyst 2015 年 1 月 6 日
A similar demo of mine is attached.
  10 件のコメント
Image Analyst
Image Analyst 2015 年 1 月 25 日
You won't know if there are any detached blobs unless you cover the whole image. What if there was a white spot way on the right side just before the right edge of the image? If you had stopped the first time the circle added zero pixels, then you never would get that blob, so the algorithm would not be robust.
For triangles, use poly2mask() to define the binary mask. I'm sure you can figure it out after looking at the help for poly2mask.
Dhandapani.S
Dhandapani.S 2015 年 1 月 26 日
thank you very much

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by