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.10.1935 (2.4.10.1935)

Syntax

C#
public static double CalibrateCamera(
	MCvPoint3D32f[][] objectPoints,
	PointF[][] imagePoints,
	Size imageSize,
	IntrinsicCameraParameters intrinsicParam,
	CALIB_TYPE calibrationType,
	MCvTermCriteria termCriteria,
	out ExtrinsicCameraParameters[] extrinsicParams
)
Visual Basic
Public Shared Function CalibrateCamera ( 
	objectPoints As MCvPoint3D32f()(),
	imagePoints As PointF()(),
	imageSize As Size,
	intrinsicParam As IntrinsicCameraParameters,
	calibrationType As CALIB_TYPE,
	termCriteria As MCvTermCriteria,
	<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 calibrationType, 
	MCvTermCriteria termCriteria, 
	[OutAttribute] array<ExtrinsicCameraParameters^>^% extrinsicParams
)
F#
static member CalibrateCamera : 
        objectPoints : MCvPoint3D32f[][] * 
        imagePoints : PointF[][] * 
        imageSize : Size * 
        intrinsicParam : IntrinsicCameraParameters * 
        calibrationType : CALIB_TYPE * 
        termCriteria : MCvTermCriteria * 
        extrinsicParams : ExtrinsicCameraParameters[] byref -> float 

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.
calibrationType
Type: Emgu.CV.CvEnum..::..CALIB_TYPE
cCalibration type
termCriteria
Type: Emgu.CV.Structure..::..MCvTermCriteria
The termination criteria
extrinsicParams
Type: array<Emgu.CV..::..ExtrinsicCameraParameters>[]()[][]%
The output array of extrinsic parameters.

Return Value

Type: Double
The final reprojection error

See Also