GetIFromCameraData

[I] = GetIFromCameraData (dCamXFOV, dDAR, nCamPixelsX, nCamPixelsY, vUp, dSkewAngle, nCamOriginZFw, nImInv, dZNear, dZFar, nCams)

Description: It returns a camera matrix information data. One camera per row.
Out parameters:
  • I : Camera information matrix.  One camera per row.
    • I(x,1) = dCamXFOV
    • I(x,2) = dDAR
    • I(x,3) = nCamPixelsX
    • I(x,4) = nCamPixelsY
    • I(x,5) = vUp X
    • I(x,6) = vUp Y
    • I(x,7) = vUp Z
    • I(x,8) = dSkewAngle
    • I(x,9) = nCamOriginZFw
    • I(x,10) = nImInv
    • I(x,11) = dZnear
    • I(x,12) = dZfar
In parameters:
  • dCamXFOV = X Field of view of the camera) [degree]
  • dDAR = Display aspect ratio (Most common: 4/3, 16/9)
  • nCamPixelsX = CCD pixels per row
  • nCamPixelsY = CCD pixels per col
  • vUp : vector [X Y Z]. Indicates the up side of the camera. Example +Z = [0 0 1]
  • dSkewAngle = Angle between CCD rows and cols [degree]
  • nCamOriginZFw = Indicates where the original camera is pointing. Allowed values: 1 = +Z, -1 = -Z
  • nImInv = Indicades if the camera gives the inverted image. Allowed values: 0 = Non inverted, 1 = Inverted
  • dZnear = Znear of the cameras
  • dZfar = Zfar of the cameras
  • nCams = Number of cams

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: