How to calculate rgb chromaticity value for set of images?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
4 Commenti
Walter Roberson
il 18 Ago 2019
meanRGB = squeeze( sum(sum( double(YourImage), 1), 2) ./ (size(YourImage,1).*size(YourImage,2)) );
Or if you have R2019a or later,
meanRGB = squeeze(mean(YourImage, [1 2]));
Risposte (1)
Image Analyst
il 18 Ago 2019
To convert ot grayscale, use rgb2gray().
To change the colors or enhance the colors, try the attached demos.
0 Commenti
Vedere anche
Categorie
Scopri di più su Image Filtering and Enhancement 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!