determine quantity of pixel in one image
Mostra commenti meno recenti
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!
Risposta accettata
Più risposte (2)
José-Luis
il 24 Apr 2014
Well, that would depend on the area, wouldn't it?
number_of_pixels = width * height;
cuong nguyen
il 5 Mag 2014
0 voti
1 Commento
Image Analyst
il 5 Mag 2014
I don't think so, but you can pass the pixels into hist().
Categorie
Scopri di più su Image Segmentation in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!