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!