Results 1 to 4 of 4

Math Help - Few statistical measures for an image

  1. #1
    Newbie
    Joined
    Dec 2010
    Posts
    4

    Few statistical measures for an image

    I'm not sure which section it belongs to, so I thought I should post in "others". The thing is I have a 3x3 matrix which represents a nine pixel square from grayscale image, so let's say the matrix can have values from 0 to 255. Now I need to make few statistical measures for the square based on this matrix, but whenever I tried to google any of them it always showed solutions that use some dedicated programs (like Matlab) or C++ libraries etc., while I only want pure mathematical formulas so I could calculate everything by myself based on the said matrix. The measures I need to calculate are:
    - measure of smoothness
    - measure of uniformity
    - average gray level
    - average contrast
    - thrid moment
    - entropy
    Is there anyone who knows how to get these from the matrix? Any help will be apreciated.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Banned
    Joined
    Dec 2010
    Posts
    19
    I would imagine that average grey level is quite simple (take the average).
    I suppose the third moment is derived once you know the mean ( is it the cube root of the sum of absolute values of the cubes of the differences of each element from the mean? )
    -- sorry, I would write it as a formula rather than words if I was fluent in the code.
    I don't know the formula for other variables.
    Last edited by mr fantastic; December 25th 2010 at 06:00 PM. Reason: Restored deleted post. User banned.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Dec 2010
    Posts
    4
    Thank you very much, does anyone else know other formulas?
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Senior Member
    Joined
    Mar 2010
    Posts
    280
    May be you could give us the source code in C or C++ of these functions and we could write it in pure math.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Pre-Image / Image proof
    Posted in the Differential Geometry Forum
    Replies: 1
    Last Post: March 9th 2012, 02:30 AM
  2. Measures of variability?
    Posted in the Statistics Forum
    Replies: 1
    Last Post: June 23rd 2011, 01:31 PM
  3. Replies: 1
    Last Post: October 27th 2009, 12:09 AM
  4. Measures of Length
    Posted in the Pre-Calculus Forum
    Replies: 2
    Last Post: April 15th 2009, 11:16 AM
  5. Measures....
    Posted in the Geometry Forum
    Replies: 1
    Last Post: May 1st 2007, 06:01 PM

Search Tags


/mathhelpforum @mathhelpforum