Centroid is part of the WaveTrain system class library
Centroid computes the centroid of a two-dimensional sets of intensity measurements. It takes a single input, a Grid< float >, which contains both the intensity measurements and the pixel geometry. It has three outputs: the x and y centroids as separate scalars, and the two together, in a Vector< float >.
|
Parameters
|
None |
Inputs
|
grid |  Grid<float> | Input grid (usually output from a focal plane camera). | |
Outputs
|
x |  float | X-coordinate of centroid (same units as grid spacing). | |
y |  float | Y-coordinate of centroid (same units as grid spacing). | |
v |  Vector<float> | X and Y coordinates of centroid (same units as grid spacing) | |
Subsystems |
|
|
Last Saved: Tue Feb 26 11:10:34 MST 2008 by TVE version 2007B
|
|