U2Pix:

Path: SC/Sensor

% Converts a unit vector into a pixel location. 
 u(3) must be > 0 to be consistent with Pix2U. The scale factor is the
 focal length in pixel units. The offset allows you to specify an origin
 for the pixelmap other than the center. If there are no outputs a plot
 will be generated. The unit vector cannot have z < 0.

    \
     \
   f |\
    ----- focal plane

--------------------------------------------------------------------------
   Form:
   p = U2Pix( u, f, offset )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   u            (3,:)   Unit vectors
   f   (2,1) or (1,1)   Scale factor (focal length in pixels)
   offset       (1,2)   Pixel offset in [x y]

   -------
   Outputs
   -------
   p            (2,:)    [x;y]  (units of f)

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

Children:

Common: General/DeBlankLT
Common: Graphics/NewFig
Common: Graphics/PltStyle
Common: Graphics/TitleS
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS

Back to the SC Module page