CameraCalibrationModel:

Path: Imaging/Calibration

% Computes points in the camera coordinates.
   If k1 and k2 are unrealistically large it will not converge.

   Since version 9.
--------------------------------------------------------------------------
   Form:
   pD = CameraCalibrationModel( d, pW )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   d       (1,1)    Data structure
                    .o    (2,1) [x,y] origin
                    .s    (2,1) [x,y] pixel dimensions
                    .f    (1,1) Focal length
                    .k1   (1,1) Radial error r^2 coeff
                    .k2   (1,1) Radial error r^4 coeff
                    .R    (3,3) Rotation matrix
                    .T    (3,1) Offset
   pW      (3,:)    World coordinates

   -------
   Outputs
   -------
   pD      (2,:)    Distorted coordinates (units of pW)

--------------------------------------------------------------------------
   Reference: Trucco, E., Verri, A., "Introductory Techniques for 3-D
              Computer Vision," Prentice-Hall, 1998, Chapter 6.
--------------------------------------------------------------------------

Children:

Common: Quaternion/Q2Mat
Common: Quaternion/U2Q
Imaging: Calibration/CalibrationCube
Math: Linear/DupVect
Math: Linear/Unit

Back to the Imaging Module page