How can i find the number of pixels in any RGB image?
1 view (last 30 days)
Show older comments
Manpreet Kaur
on 28 Jun 2018
Answered: Jonathon Gibson
on 28 Jun 2018
I want to compare algorithms for face setection for which i want to find the number of pixels in it
0 Comments
Accepted Answer
Jonathon Gibson
on 28 Jun 2018
image = imread('image.jpg');
[height, width, channels] = size(image);
pixels = height * width
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!