GetPixelFrom3DPoint

[poi Kin Kext Mo Rw2oc P] = GetPixelFrom3DPoint(Pow, df, dCCDw, dCCDh, nPixelsX, nPixelsY, dSkewAngle, dRoll, dPitch, dYaw, Twoc, nInvert)

 
Description: Returns the the camera pixel where the specified 3D point (Pow) is projected.
 
Out parameters: 
  • poi = Pixel where 3D point (Pow) is projected  [mat 1×2]
  • Kin = Calibration intrinsics matrix [mat 3×3]
  • Kext = Calibration extrinsics matrix [mat 4×4]
  • Mo = Standart projection matrix 3D -> 2D [mat 4×3]
  • Rw2oc = Camera rotation matrix [mat 3×3]
  • P = Camera projection matrix [mat 4×3]
In parameters: 
  • Pow = World 3D point (world referenced)
  • df =  Focal lentgh [long units]
  • cCCDw = CCD width
  • cCCDh = CCD height
  • nCamPixelsX = CCD pixels per row
  • nCamPixelsY = CCD pixels per col
  • dSkewAngle = Angle between CCD rows and cols [degree]
  • dRoll = X axis camera rotation respect world X axis [degree]
  • dPitch = Y axis camera rotation respect world Y axis [degree]
  • dYaw = Z axis camera rotation respect world Z axis [degree]
  • Twoc = Camera location respect world axis
  • Optional nInvert = Apply final image y flip (0 = no Y flip, 1 = Y flip) (default = 1)

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: