How to calculate rgb chromaticity value for set of images?
2 ビュー (過去 30 日間)
古いコメントを表示
4 件のコメント
Walter Roberson
2019 年 8 月 18 日
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]));
回答 (1 件)
Image Analyst
2019 年 8 月 18 日
To convert ot grayscale, use rgb2gray().
To change the colors or enhance the colors, try the attached demos.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Image Filtering and Enhancement についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!