count how many pixel has value 255 in an image
6 views (last 30 days)
Show older comments
The image cameraman, how can we find how many pixel has value of 255? Please help me
0 Comments
Accepted Answer
KALYAN ACHARJYA
on 16 Feb 2022
Edited: KALYAN ACHARJYA
on 16 Feb 2022
data=GrayImage==255;
total_pix=sum(data(:))
4 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!