CameraDatabase:

Path: SCPro/ProSensors

% Get default camera properties for different camera models.
   The model specifies the size of the chip and the size of the pixels.
   The camera location and orientation is also defined.
   Several properties are derived from others. 
   
   To update the derived properties or substitute a default for an empty 
   field, pass in the updated structure instead of a model name.

   When called with no inputs, displays or returns a list of models.

   Since version 8.
--------------------------------------------------------------------------
   Form:
   CameraDatabase                    % Print list of available models.
   d = CameraDatabase( modelName )   % Return a model
   d = CameraDatabase( d )           % Update a model
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   modelName     (:)     String of model name.

   -------
   Outputs
   -------
   d
                       .xPixels       (1,1) Number of pixels along x axis (n)
                       .yPixels       (1,1) Number of pixels along y axis (m)
                       .focalLength   (1,1) Focal length (m)
                       .aperture      (1,1) Aperture diameter (m)
                       .xLength       (1,1) Length of pixel along x axis (micro m)
                       .yLength       (1,1) Length of pixel along y axis(micro m)
                       .gain          (n,m) Gain of each pixel
                       .up            (2,1) Up vector in camera frame, usually +Y
                       .boresight     (3,1) Boresight in camera frame, usually +Z
                       .position      (3,1) Location of camera imager in body frame (m)
                       .bBodyToCamera (3,3) Transformation matrix to camera frame
                       .xWidth        (1,1) X focal plane width (derived)
                       .yWidth        (1,1) Y focal plane width (derived)
                       .rho           (1,1) Imaging element diameter (derived)

--------------------------------------------------------------------------

Back to the SCPro Module page