determine quantity of pixel in one image
Ältere Kommentare anzeigen
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!
Akzeptierte Antwort
Weitere Antworten (2)
José-Luis
am 24 Apr. 2014
Well, that would depend on the area, wouldn't it?
number_of_pixels = width * height;
cuong nguyen
am 5 Mai 2014
0 Stimmen
1 Kommentar
Image Analyst
am 5 Mai 2014
I don't think so, but you can pass the pixels into hist().
Kategorien
Mehr zu Images finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!