CameraCalibrationCalibrateCamera Method |
http://www.emgu.com
Estimates intrinsic camera parameters and extrinsic parameters for each of the views
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.3.0.2824 (3.3.0.2824)
Syntaxpublic static double CalibrateCamera(
MCvPoint3D32f[][] objectPoints,
PointF[][] imagePoints,
Size imageSize,
IntrinsicCameraParameters intrinsicParam,
CalibType calibrationType,
MCvTermCriteria termCriteria,
out ExtrinsicCameraParameters[] extrinsicParams
)
Public Shared Function CalibrateCamera (
objectPoints As MCvPoint3D32f()(),
imagePoints As PointF()(),
imageSize As Size,
intrinsicParam As IntrinsicCameraParameters,
calibrationType As CalibType,
termCriteria As MCvTermCriteria,
<OutAttribute> ByRef extrinsicParams As ExtrinsicCameraParameters()
) As Double
public:
static double CalibrateCamera(
array<array<MCvPoint3D32f>^>^ objectPoints,
array<array<PointF>^>^ imagePoints,
Size imageSize,
IntrinsicCameraParameters^ intrinsicParam,
CalibType calibrationType,
MCvTermCriteria termCriteria,
[OutAttribute] array<ExtrinsicCameraParameters^>^% extrinsicParams
)
static member CalibrateCamera :
objectPoints : MCvPoint3D32f[][] *
imagePoints : PointF[][] *
imageSize : Size *
intrinsicParam : IntrinsicCameraParameters *
calibrationType : CalibType *
termCriteria : MCvTermCriteria *
extrinsicParams : ExtrinsicCameraParameters[] byref -> float
Parameters
- objectPoints
- Type: Emgu.CV.StructureMCvPoint3D32f
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: System.DrawingPointF
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.DrawingSize
The size of the image, used only to initialize intrinsic camera matrix - intrinsicParam
- Type: Emgu.CVIntrinsicCameraParameters
The intrisinc parameters, might contains some initial values. The values will be modified by this function. - calibrationType
- Type: Emgu.CV.CvEnumCalibType
cCalibration type - termCriteria
- Type: Emgu.CV.StructureMCvTermCriteria
The termination criteria - extrinsicParams
- Type: Emgu.CVExtrinsicCameraParameters
The output array of extrinsic parameters.
Return Value
Type:
DoubleThe final reprojection error
See Also