Path: SpacecraftEstimation/StarCentroiding
% Load a star image and process it for centroids.
--------------------------------------------------------------------------
[xCOM,pixels,d] = ProcessStarImage( fileName, fmt, doFlip, doPlot )
--------------------------------------------------------------------------
------
Inputs
------
fileName Path to file
fmt Image format (gif, tiff)
doFlip Whether to invert image (fliplr)
doPlot Whether to create figures
------
Outputs
------
xCOM Centroid locations and intensity, [x;y;I]
pixels Pixel data
d (.) Metadata
.threshold Pixel threshold for stars
.nPixels Size of pixel region of interest (odd integer)
.coarseCM Coarse centroids before processing
.pMax Maximum pixel value
.flip Whether image was flipped
--------------------------------------------------------------------------
See also:
LoadStarImage
StarCentroidCOM
PostProcessCOM
FocalPlaneImage
--------------------------------------------------------------------------
SpacecraftEstimation: StarCentroiding/CoarseCentroids SpacecraftEstimation: StarProcessing/FitHist SpacecraftEstimation: StarProcessing/LoadStarImage
Back to the SpacecraftEstimation Module page