determine quantity of pixel in one image
古いコメントを表示
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!
採用された回答
その他の回答 (2 件)
José-Luis
2014 年 4 月 24 日
Well, that would depend on the area, wouldn't it?
number_of_pixels = width * height;
cuong nguyen
2014 年 5 月 5 日
0 投票
1 件のコメント
Image Analyst
2014 年 5 月 5 日
I don't think so, but you can pass the pixels into hist().
カテゴリ
ヘルプ センター および File Exchange で Images についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!