CvStereoCalibrate Method (CvMat, CvMat, CvMat, CvMat, CvMat, CvMat, CvMat, CvMat, CvSize, CvMat, CvMat, CvMat) OpenCvSharp Class Library
Calibrates stereo camera

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void StereoCalibrate(
	CvMat objectPoints,
	CvMat imagePoints1,
	CvMat imagePoints2,
	CvMat npoints,
	CvMat cameraMatrix1,
	CvMat distCoeffs1,
	CvMat cameraMatrix2,
	CvMat distCoeffs2,
	CvSize imageSize,
	CvMat R,
	CvMat T,
	CvMat E
)

Parameters

objectPoints
Type: OpenCvSharpCvMat
The joint matrix of object points, 3xN or Nx3, where N is the total number of points in all views.
imagePoints1
Type: OpenCvSharpCvMat
The joint matrix of corresponding image points in the views from the 1st camera, 2xN or Nx2, where N is the total number of points in all views.
imagePoints2
Type: OpenCvSharpCvMat
The joint matrix of corresponding image points in the views from the 2nd camera, 2xN or Nx2, where N is the total number of points in all views.
npoints
Type: OpenCvSharpCvMat
Vector containing numbers of points in each view, 1xM or Mx1, where M is the number of views.
cameraMatrix1
Type: OpenCvSharpCvMat
The input/output camera matrix [fxk 0 cxk; 0 fyk cyk; 0 0 1]. If CV_CALIB_USE_INTRINSIC_GUESS or CV_CALIB_FIX_ASPECT_RATIO are specified, some or all of the elements of the matrices must be initialized.
distCoeffs1
Type: OpenCvSharpCvMat
The input/output vector of distortion coefficients for each camera, 4x1, 1x4, 5x1 or 1x5.
cameraMatrix2
Type: OpenCvSharpCvMat
The input/output camera matrix [fxk 0 cxk; 0 fyk cyk; 0 0 1]. If CV_CALIB_USE_INTRINSIC_GUESS or CV_CALIB_FIX_ASPECT_RATIO are specified, some or all of the elements of the matrices must be initialized.
distCoeffs2
Type: OpenCvSharpCvMat
The input/output vector of distortion coefficients for each camera, 4x1, 1x4, 5x1 or 1x5.
imageSize
Type: OpenCvSharpCvSize
Size of the image, used only to initialize intrinsic camera matrix.
R
Type: OpenCvSharpCvMat
The rotation matrix between the 1st and the 2nd cameras' coordinate systems
T
Type: OpenCvSharpCvMat
The translation vector between the cameras' coordinate systems.
E
Type: OpenCvSharpCvMat
The optional output essential matrix
See Also

Reference