Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

mean2 image processing question

Status
Not open for further replies.

jimodoherty

Bioengineer
Joined
Oct 25, 2004
Messages
4
Location
IE
Hi,
I need some help with the mean2 command in the image processing toolbox.
Basically id like to know how Matlab calculates the mean2 of an image that i have been using
All i have been able to find so far is that it "calculates the mean of an n-Dimensional array"

Can anyone describe briefly how the mean of an image is calculated??

Thanks
Jim O Doherty
 
Is it supposed to be something different than the sum of all the values of the array divided by the number of elements in the array

TTFN
 
I am not sure. I know how to get the mean of an array, but my worry was that since an image is made up of 3 arrays (red green and blue) there is a certain value of red green and blue for each pixel present. I was wondering if Matlab takes this into account and how it deals with it
 
Why would you want to take the mean of a color image?

Shouldn't you convert to grayscale first?

TTFN
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top