count how many pixel has value 255 in an image
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Tu Nguyen
am 16 Feb. 2022
Bearbeitet: AndresVar
am 16 Feb. 2022
The image cameraman, how can we find how many pixel has value of 255? Please help me
0 Kommentare
Akzeptierte Antwort
KALYAN ACHARJYA
am 16 Feb. 2022
Bearbeitet: KALYAN ACHARJYA
am 16 Feb. 2022
data=GrayImage==255;
total_pix=sum(data(:))
4 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!