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,m) Star indices .uStar (3,m) Star unit vectors camera (.) Camera data structure ------------------------------------------------------------------------ See also: U2Pix, VM2Int, PinholeCameraStruct, PinholeCameraDemo ------------------------------------------------------------------------
SC: Ephem/LoadFK5 SC: Sensor/U2Pix SpacecraftEstimation: StellarAttDet/PinholeCameraStruct SpacecraftEstimation: StellarCatalog/LoadCatalog SpacecraftEstimation: StellarData/FK5Polar SpacecraftEstimation: StellarData/Hipparcos Common: CommonData/SwooshWatermark Common: General/CellToMat Common: General/DeBlankLT Common: General/MatToCell Common: General/Watermark Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/PltStyle Common: Graphics/TitleS Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Common: Transform/RaDec2U Common: Transform/VM2Int
Back to the SpacecraftEstimation Module page