http://www.emgu.com
Estimates intrinsic camera parameters and extrinsic parameters for each of the views

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
public static double CalibrateCamera(
	MCvPoint3D32f[][] objectPoints,
	PointF[][] imagePoints,
	Size imageSize,
	IntrinsicCameraParameters intrinsicParam,
	CALIB_TYPE flags,
	out ExtrinsicCameraParameters[] extrinsicParams
)
Visual Basic
Public Shared Function CalibrateCamera ( _
	objectPoints As MCvPoint3D32f()(), _
	imagePoints As PointF()(), _
	imageSize As Size, _
	intrinsicParam As IntrinsicCameraParameters, _
	flags As CALIB_TYPE, _
	<OutAttribute> ByRef extrinsicParams As ExtrinsicCameraParameters() _
) As Double
Visual C++
public:
static double CalibrateCamera(
	array<array<MCvPoint3D32f>^>^ objectPoints, 
	array<array<PointF>^>^ imagePoints, 
	Size imageSize, 
	IntrinsicCameraParameters^ intrinsicParam, 
	CALIB_TYPE flags, 
	[OutAttribute] array<ExtrinsicCameraParameters^>^% extrinsicParams
)

Parameters

objectPoints
Type: array<array<Emgu.CV.Structure..::..MCvPoint3D32f>[]()[][]>[]()[][]
The 3D location of the object points. The first index is the index of image, second index is the index of the point
imagePoints
Type: array<array<System.Drawing..::..PointF>[]()[][]>[]()[][]
The 2D image location of the points. The first index is the index of the image, second index is the index of the point
imageSize
Type: System.Drawing..::..Size
The size of the image, used only to initialize intrinsic camera matrix
intrinsicParam
Type: Emgu.CV..::..IntrinsicCameraParameters
The intrisinc parameters, might contains some initial values. The values will be modified by this function.
flags
Type: Emgu.CV.CvEnum..::..CALIB_TYPE
Flags
extrinsicParams
Type: array<Emgu.CV..::..ExtrinsicCameraParameters>[]()[][]%
The output array of extrinsic parameters.

Return Value

The final reprojection error

See Also