Click or drag to resize
CvInvokeInitCameraMatrix2D Method
Finds an initial camera matrix from 3D-2D point correspondences.

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: (
public static Mat InitCameraMatrix2D(
	IInputArrayOfArrays objectPoints,
	IInputArrayOfArrays imagePoints,
	Size imageSize,
	double aspectRatio = 1


Type: Emgu.CVIInputArrayOfArrays
Vector of vectors of the calibration pattern points in the calibration pattern coordinate space.
Type: Emgu.CVIInputArrayOfArrays
Vector of vectors of the projections of the calibration pattern points.
Type: System.DrawingSize
Image size in pixels used to initialize the principal point.
aspectRatio (Optional)
Type: SystemDouble
If it is zero or negative, both fx and fy are estimated independently. Otherwise, fx=fy*aspectRatio.

Return Value

Type: Mat
An initial camera matrix for the camera calibration process.
Currently, the function only supports planar calibration patterns, which are patterns where each object point has z-coordinate =0.
See Also