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

2 vues (au cours des 30 derniers jours)
Alyssa Laverda
Alyssa Laverda le 24 Fév 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!

Réponses (1)

Sai Bhargav Avula
Sai Bhargav Avula le 24 Fév 2020
Modifié(e) : Sai Bhargav Avula le 24 Fév 2020
Hi, The below link answers your question in detailed
Hope this helps!

Catégories

En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by