what will the formula for mean intensity value of RGB image
2 次查看(过去 30 天)
显示 更早的评论
gray scale image intensity value is
m=mean2(I)
then what will be of RGB image
0 个评论
回答(1 个)
Image Analyst
2015-7-5
The help says
mean2 computes the mean of an array A using mean(A(:)).
So that pretty much answers your question. It will average everything together regardless of which color plane a value is in. It does not give a weighted mean, like rgb2gray(), nor does it give a 3-element array with means of each color channel separately.
0 个评论
另请参阅
类别
在 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!