Path: Imaging/Optics
% Finds the centroid given intensities on n pixels and their coordinates.
This uses the point spread function method.
Type StarCentroid for a demo which will draw the centroid and the
intensity map.
--------------------------------------------------------------------------
Form:
[x0, y0] = StarCentroid( i, x, y )
--------------------------------------------------------------------------
------
Inputs
------
i (1,:) Intensity
x (1,:) x coordinate
y (1,:) y coordinate
-------
Outputs
-------
x0 (1,1) x centroid
y0 (1,1) y centroid
--------------------------------------------------------------------------
Reference: C. Fosu, G. W. Hein, B. Eissfeller, "Determination of
Centroid of CCD Star Images," ISPRS XXXV Congress.
--------------------------------------------------------------------------
Common: Graphics/NewFig Math: Linear/Mag
Back to the Imaging Module page