LoadStarImage:

Path: SpacecraftEstimation/StarProcessing

% Load a star image with imread and generate metadata.

 Example:
 LoadStarImage( 'test.fits', [], [], true )
--------------------------------------------------------------------------
   Form:
   [pixels,d] = LoadStarImage( fileName, fmt, doFlip, doPlot )
--------------------------------------------------------------------------
   ------
   Inputs
   ------
   fileName	(1,:)	Path to file
   fmt      	(1,:)	Image format (gif, tiff, fits), leave empty to use extension
   doFlip    (1,1)	Whether to invert image (fliplr)
   doPlot    (1,1)	Whether to create figures (default: false)
   d         (.)   Metadata
                   .pMin (1,1)	Minimum pixel value
                   .pMax (1,1)	Maximum pixel value
                   .flip (1,1)	 Whether image was flipped
   ------
   Outputs
   ------
   pixels     (:,:) Pixels
   d         (.)    Metadata

--------------------------------------------------------------------------
   Copyright (c) 2018 Princeton Satellite Systems, Inc.
   All rights reserved.
--------------------------------------------------------------------------
   Since 2018.1
--------------------------------------------------------------------------

Children:

SpacecraftEstimation: StarProcessing/FitHist
Common: Graphics/NewFig
Imaging: Optics/FocalPlaneImage

Back to the SpacecraftEstimation Module page