determine quantity of pixel in one image
Afficher commentaires plus anciens
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!
Réponse acceptée
Plus de réponses (2)
José-Luis
le 24 Avr 2014
Well, that would depend on the area, wouldn't it?
number_of_pixels = width * height;
cuong nguyen
le 5 Mai 2014
0 votes
1 commentaire
Image Analyst
le 5 Mai 2014
I don't think so, but you can pass the pixels into hist().
Catégories
En savoir plus sur Images dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!