determine quantity of pixel in one image
1 回表示 (過去 30 日間)
古いコメントを表示
HI ALLS!
i am working an square's grayscale image 252*252, now i just wanna to focus on smaller area in this image and count how many pixels this area have in there.
hope you guys help me! thanks so much!
0 件のコメント
採用された回答
Image Analyst
2014 年 4 月 24 日
See my attached demo where you can hand-draw some region (doesn't have to be rectangular) and it will report the area and do some other stuff too, like masking.
0 件のコメント
その他の回答 (2 件)
José-Luis
2014 年 4 月 24 日
Well, that would depend on the area, wouldn't it?
number_of_pixels = width * height;
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!