Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross 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
Oct 25, 2004
4
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
 
Replies continue below

Recommended for you

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