How to calculate rgb chromaticity value for set of images?
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
4 Kommentare
Walter Roberson
am 18 Aug. 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]));
Antworten (1)
Image Analyst
am 18 Aug. 2019
To convert ot grayscale, use rgb2gray().
To change the colors or enhance the colors, try the attached demos.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Image Filtering and Enhancement finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!