Finds the initial camera matrix from the 3D-2D point correspondences
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void InitIntrinsicParams2D( CvMat objectPoints, CvMat imagePoints, CvMat npoints, CvSize imageSize, CvMat cameraMatrix, double aspectRatio )
Parameters
- objectPoints
- Type: OpenCvSharpCvMat
The joint array of object points - imagePoints
- Type: OpenCvSharpCvMat
The joint array of object point projections - npoints
- Type: OpenCvSharpCvMat
The array of point counts - imageSize
- Type: OpenCvSharpCvSize
The image size in pixels - cameraMatrix
- Type: OpenCvSharpCvMat
The output camera matrix - aspectRatio
- Type: SystemDouble
If it is zero or negative, both f_x and f_y are estimated independently. Otherwise f_x = f_y * aspectRatio
See Also