Estimates intrinsic camera parameters and extrinsic parameters for each of the views
Namespace:
Emgu.CV
Assembly:
Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Sub cvCalibrateCamera2 ( _
objectPoints As IntPtr, _
imagePoints As IntPtr, _
pointCounts As IntPtr, _
imageSize As Size, _
intrinsicMatrix As IntPtr, _
distortionCoeffs As IntPtr, _
rotationVectors As IntPtr, _
translationVectors As IntPtr, _
flags As CALIB_TYPE _
) |
Parameters
- objectPoints
- Type: System..::.IntPtr
The joint matrix of object points, 3xN or Nx3, where N is the total number of points in all views
- imagePoints
- Type: System..::.IntPtr
The joint matrix of corresponding image points, 2xN or Nx2, where N is the total number of points in all views
- pointCounts
- Type: System..::.IntPtr
Vector containing numbers of points in each particular view, 1xM or Mx1, where M is the number of a scene views
- imageSize
- Type: System.Drawing..::.Size
Size of the image, used only to initialize intrinsic camera matrix
- intrinsicMatrix
- Type: System..::.IntPtr
The output camera matrix (A) [fx 0 cx; 0 fy cy; 0 0 1]. If CV_CALIB_USE_INTRINSIC_GUESS and/or CV_CALIB_FIX_ASPECT_RATION are specified, some or all of fx, fy, cx, cy must be initialized
- distortionCoeffs
- Type: System..::.IntPtr
The output 4x1 or 1x4 vector of distortion coefficients [k1, k2, p1, p2]
- rotationVectors
- Type: System..::.IntPtr
The output 3xM or Mx3 array of rotation vectors (compact representation of rotation matrices, see cvRodrigues2).
- translationVectors
- Type: System..::.IntPtr
The output 3xM or Mx3 array of translation vectors
- flags
- Type: Emgu.CV.CvEnum..::.CALIB_TYPE
Different flags
See Also