Results 1 to 2 of 2

Math Help - How do I calculate the centroid of a distribution of light?

  1. #1
    Newbie
    Joined
    Nov 2007
    Posts
    6

    How do I calculate the centroid of a distribution of light?

    Hi All,

    I have a 2 dimensional (X,Y) array of data points (pixels) that represent brightness in a star field. For any given star field I need to be able to pinpoint the center of the distribution of light.

    I've found many algorithms regarding the centroid of geometric objects, but I can find none that relate to the distribution of light.

    Does anyone know of an algorithm for such a calculation? FYI, I will be implementing this into a computer program so pseudo-code would be just fine.

    Best regards.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Member
    Joined
    May 2006
    Posts
    244
    Quote Originally Posted by gberz3 View Post
    Hi All,

    I have a 2 dimensional (X,Y) array of data points (pixels) that represent brightness in a star field. For any given star field I need to be able to pinpoint the center of the distribution of light.

    I've found many algorithms regarding the centroid of geometric objects, but I can find none that relate to the distribution of light.

    Does anyone know of an algorithm for such a calculation? FYI, I will be implementing this into a computer program so pseudo-code would be just fine.

    Best regards.
    Try:

    \bar{X}=\frac{\sum v(X_i,Y_i) X_i}{\sum v(X_i,Y_i) }

    \bar{Y}=\frac{\sum v(X_i,Y_i) Y_i}{\sum v(X_i,Y_i) }

    ZB
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 3
    Last Post: July 13th 2011, 10:45 PM
  2. Replies: 2
    Last Post: August 25th 2010, 08:46 PM
  3. How to calculate the mean of Wald distribution
    Posted in the Advanced Statistics Forum
    Replies: 4
    Last Post: March 29th 2010, 02:32 AM
  4. Replies: 1
    Last Post: November 21st 2009, 02:48 PM
  5. Replies: 5
    Last Post: October 24th 2007, 04:13 PM

Search Tags


/mathhelpforum @mathhelpforum