Path: SpacecraftEstimation/StellarAttDet
% Finds the centroids of bright objects in the pixelMap. If the name 'demo' is given it will perform a demo with the image StarFieldDemo.jpg -------------------------------------------------------------------------- Form: starMeasurement = PixelMapCentroid( pixelMap, threshold, show ) -------------------------------------------------------------------------- ------ Inputs ------ pixelMap (1,:) PixelMap file name or 'demo' If empty will open a dialog box threshold (1,1) Fraction of maximum value, default is 0.97 show If entered, will show pictures ------- Outputs ------- starMeasurement (1,1) Data structure .pixelLocation (2,m) Coordinates of centroid [x;y] .intensity (1,m) Intensity of each object --------------------------------------------------------------------------
Common: General/DeBlankLT Common: Graphics/NewFig Common: Graphics/PltStyle Common: Graphics/TitleS Common: Graphics/XLabelS Common: Graphics/YLabelS
Back to the SpacecraftEstimation Module page