How can I run a batch of images to receive mean RGB data?

1 回表示 (過去 30 日間)
Alyssa Laverda
Alyssa Laverda 2020 年 2 月 24 日
編集済み: Sai Bhargav Avula 2020 年 2 月 24 日
I am very interested in using the image batch processor and am currently attempting to write a for loop to take the mean RGB values of each image and input them in a table, organized with the variables; red, green, blue, id. I'd like the id to be the image file name.
I've been able to work with mean(mean(IM)) to get the values, which return in a 1x1x3 double
please assist- thank you!

回答 (1 件)

Sai Bhargav Avula
Sai Bhargav Avula 2020 年 2 月 24 日
編集済み: Sai Bhargav Avula 2020 年 2 月 24 日
Hi, The below link answers your question in detailed
Hope this helps!

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by