How can i find the number of pixels in any RGB image?
1 次查看(过去 30 天)
显示 更早的评论
I want to compare algorithms for face setection for which i want to find the number of pixels in it
0 个评论
采纳的回答
Jonathon Gibson
2018-6-28
image = imread('image.jpg');
[height, width, channels] = size(image);
pixels = height * width
0 个评论
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!