determine quantity of pixel in one image
Show older comments
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!
Accepted Answer
More Answers (2)
José-Luis
on 24 Apr 2014
Well, that would depend on the area, wouldn't it?
number_of_pixels = width * height;
cuong nguyen
on 5 May 2014
0 votes
1 Comment
Image Analyst
on 5 May 2014
I don't think so, but you can pass the pixels into hist().
Categories
Find more on Image Segmentation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!