ProcessStarImage:

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
--------------------------------------------------------------------------

Children:

SpacecraftEstimation: StarCentroiding/Blobify
SpacecraftEstimation: StarCentroiding/CentroidCOM
SpacecraftEstimation: StarCentroiding/CoarseCentroids
SpacecraftEstimation: StarProcessing/ApplyThreshold
SpacecraftEstimation: StarProcessing/FitHist
SpacecraftEstimation: StarProcessing/LoadStarImage
SpacecraftEstimation: StarVisualization/DrawBlobs
SpacecraftEstimation: StarVisualization/PlotCentroids
Common: CommonData/SwooshWatermark
Common: General/DeBlankLT
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/PltStyle
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Imaging: Optics/FocalPlaneImage
Imaging: PSFUtils/ImagerPSF
Imaging: PSFUtils/RHSGaussianPSF
Imaging: Utilities/PoissonNoise
Math: Linear/Mag

Back to the SpacecraftEstimation Module page