Average of R,G,B channels
2 次查看(过去 30 天)
显示 更早的评论
I'm trying obtain the intensity image by finding the average of the R,G,B channels which are extracted from the original image is there any built in method that can do this
0 个评论
回答(1 个)
Adam
2016-2-2
mean( rgbImage, 3 );
should work if your image is in n*m*3 RGB format.
1 个评论
Tarunkishwor Yumnam
2019-8-20
Can you have a look at this? Thanks
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!