PinholeStarCamera:

Path: SpacecraftEstimation/StellarAttDet

% Models a pinhole camera for star identification. 
   Projects the catalog into the camera frame. This model does not 
   account for lense effects. The function includes a noise model that 
   accounts for random intensity variations, random centroid shifts and 
   false stars.
------------------------------------------------------------------------
   Form:
   [starMeasurement, camera] = PinholeStarCamera( bCatalogToCamera, camera,
                                                  catalog, drawImage )
------------------------------------------------------------------------

   ------
   Inputs
   ------
   bCatalogToCamera    (3,3)    Transforms from the catalog frame to the 
                                camera frame. The boresight is along +Z.
   camera               (.)     Camera data structure
                                .fScale  (1,1) Pixel conversion 
                                .wX      (1,1) Width of sensing element in X
                                .wY      (1,1) Width of sensing element in Y
                                .gain    (1,1) Camera gain
                                .noise   (1,1) Include the noise model (T/F)
                                .sigmaXY (1,1) Position noise (pixels)
                                .sigmaI  (1,1) Intensity noise (after gain)
                                .sigmaFS (1,1) False star noise
                                .fSAtEnd (1,1) 1 if false stars are at the end of the measurements
   catalog             (1,1)    Star catalog data structure or name
   drawImage           (:)      If entered will draw a star image

   -------
   Outputs
   -------
   starMeasurement      (.)    Data structure
                                .pixelLocation  (2,m) Coordinates of centroid [x;y]
                                .pixelIntensity (1,m) Intensity of each object
                                .star           (1,:) Star indices
   camera               (.)    Camera data structure

------------------------------------------------------------------------
   See also: U2Pix, VM2Int, PinholeCameraStruct, PinholeCameraDemo
------------------------------------------------------------------------

Children:

Common: Graphics/NewFig
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Transform/RaDec2U
Common: Transform/VM2Int
SC: Sensor/U2Pix
SpacecraftEstimation: StellarAttDet/PinholeCameraStruct
SpacecraftEstimation: StellarCatalog/LoadCatalog

Back to the SpacecraftEstimation Module page