Click or drag to resize
CvInvokeInitCameraMatrix2D Method
http://www.emgu.com
Finds an initial camera matrix from 3D-2D point correspondences.

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

Parameters

objectPoints
Type: Emgu.CVIInputArrayOfArrays
Vector of vectors of the calibration pattern points in the calibration pattern coordinate space.
imagePoints
Type: Emgu.CVIInputArrayOfArrays
Vector of vectors of the projections of the calibration pattern points.
imageSize
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.
Remarks
Currently, the function only supports planar calibration patterns, which are patterns where each object point has z-coordinate =0.
See Also