what will the formula for mean intensity value of RGB image

5 Ansichten (letzte 30 Tage)
Poonam
Poonam am 5 Jul. 2015
Beantwortet: Image Analyst am 5 Jul. 2015
gray scale image intensity value is
m=mean2(I)
then what will be of RGB image

Antworten (1)

Image Analyst
Image Analyst am 5 Jul. 2015
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.

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by