How to find the image as in which channel it is in?
1 回表示 (過去 30 日間)
古いコメントを表示
Hi, I have an RGB image and I want to know the channel it belongs to.
whether red, green or blue. Here is the Image.

I know it is in blue channel but I just want to know how to find that...
Please assist me.
Thanks...
0 件のコメント
採用された回答
Image Analyst
2014 年 10 月 17 日
Look for the channel that has the highest mean. To get the means:
redMean = mean2(rgbImage(:,:,1))
greenMean = mean2(rgbImage(:,:,2))
blueMean = mean2(rgbImage(:,:,3))
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Propagation and Channel Models についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!