what will the formula for mean intensity value of RGB image

조회 수: 4 (최근 30일)
Poonam
Poonam 2015년 7월 5일
답변: Image Analyst 2015년 7월 5일
gray scale image intensity value is
m=mean2(I)
then what will be of RGB image

답변 (1개)

Image Analyst
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.

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by