How to find the image as in which channel it is in?
2 次查看(过去 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!