フィルターのクリア

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

1 回表示 (過去 30 日間)
Manpreet Kaur
Manpreet Kaur 2018 年 6 月 28 日
回答済み: Jonathon Gibson 2018 年 6 月 28 日
I want to compare algorithms for face setection for which i want to find the number of pixels in it

採用された回答

Jonathon Gibson
Jonathon Gibson 2018 年 6 月 28 日
image = imread('image.jpg');
[height, width, channels] = size(image);
pixels = height * width

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImages についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by