Estimates extrinsic camera parameters using known intrinsic parameters and extrinsic parameters for each view. The coordinates of 3D object points and their correspondent 2D projections must be specified. This function also minimizes back-projection error
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)
Syntax
C# | Visual Basic | Visual C++ |
Parameters
- objectPoints
- IntPtr
The array of object points, 3xN or Nx3, where N is the number of points in the view
- imagePoints
- IntPtr
The array of corresponding image points, 2xN or Nx2, where N is the number of points in the view
- intrinsicMatrix
- IntPtr
The camera matrix (A) [fx 0 cx; 0 fy cy; 0 0 1].
- distortionCoeffs
- IntPtr
The vector of distortion coefficients, 4x1 or 1x4 [k1, k2, p1, p2]. If it is IntPtr.Zero, all distortion coefficients are considered 0's.
- rotationVector
- IntPtr
The output 3x1 or 1x3 rotation vector (compact representation of a rotation matrix, see cvRodrigues2).
- translationVector
- IntPtr
The output 3x1 or 1x3 translation vector
- useExtrinsicGuess
- Int32
Use the input rotation and translation parameters as a guess