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

3 views (last 30 days)
Alyssa Laverda
Alyssa Laverda on 24 Feb 2020
Edited: Sai Bhargav Avula on 24 Feb 2020
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!

Answers (1)

Sai Bhargav Avula
Sai Bhargav Avula on 24 Feb 2020
Edited: Sai Bhargav Avula on 24 Feb 2020
Hi, The below link answers your question in detailed
Hope this helps!

Community Treasure Hunt

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

Start Hunting!