How to calculate entropy of color image in matlab?
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I want to calculate entropy of color image. I found the command entropy(img) for the grayscale image. I dont know how to find entropy for a color image in matlab. Please help me.
1 Commento
Risposte (1)
Walter Roberson
il 22 Feb 2017
reshape() the image to a vector and call entropy on that.
4 Commenti
Walter Roberson
il 19 Ago 2017
If you have a binary mask, then use it to index the image, and the result will be a vector; you can calculate the entropy of the vector.
Image Analyst
il 19 Ago 2017
entropyWithinMask = entropy(grayImage(mask));
Vedere anche
Categorie
Scopri di più su Image Processing Toolbox in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!