Effacer les filtres
Effacer les filtres

How can i find the number of pixels in any RGB image?

2 vues (au cours des 30 derniers jours)
Manpreet Kaur
Manpreet Kaur le 28 Juin 2018
I want to compare algorithms for face setection for which i want to find the number of pixels in it

Réponse acceptée

Jonathon Gibson
Jonathon Gibson le 28 Juin 2018
image = imread('image.jpg');
[height, width, channels] = size(image);
pixels = height * width

Plus de réponses (0)

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by