Click or drag to resize

Cv2FishEyeCalibrate Method

Performs camera calibaration

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static double Calibrate(
	IEnumerable<Mat> objectPoints,
	IEnumerable<Mat> imagePoints,
	Size imageSize,
	InputOutputArray k,
	InputOutputArray d,
	out IEnumerable<Mat> rvecs,
	out IEnumerable<Mat> tvecs,
	FishEyeCalibrationFlags flags = FishEyeCalibrationFlags.None,
	Nullable<TermCriteria> criteria = null
)

Parameters

objectPoints
Type: System.Collections.GenericIEnumerableMat
vector of vectors of calibration pattern points in the calibration pattern coordinate space.
imagePoints
Type: System.Collections.GenericIEnumerableMat
vector of vectors of the projections of calibration pattern points. imagePoints.size() and objectPoints.size() and imagePoints[i].size() must be equal to objectPoints[i].size() for each i.
imageSize
Type: OpenCvSharpSize
Size of the image used only to initialize the intrinsic camera matrix.
k
Type: OpenCvSharpInputOutputArray
Output 3x3 floating-point camera matrix
d
Type: OpenCvSharpInputOutputArray
Output vector of distortion coefficients (k_1, k_2, k_3, k_4).
rvecs
Type: System.Collections.GenericIEnumerableMat
Output vector of rotation vectors (see Rodrigues ) estimated for each pattern view. That is, each k-th rotation vector together with the corresponding k-th translation vector(see the next output parameter description) brings the calibration pattern from the model coordinate space(in which object points are specified) to the world coordinate space, that is, a real position of the calibration pattern in the k-th pattern view(k= 0.. * M * -1).
tvecs
Type: System.Collections.GenericIEnumerableMat
Output vector of translation vectors estimated for each pattern view.
flags (Optional)
Type: OpenCvSharpFishEyeCalibrationFlags
Different flags that may be zero or a combination of flag values
criteria (Optional)
Type: SystemNullableTermCriteria
Termination criteria for the iterative optimization algorithm.

Return Value

Type: Double

[Missing <returns> documentation for "M:OpenCvSharp.Cv2.FishEye.Calibrate(System.Collections.Generic.IEnumerable{OpenCvSharp.Mat},System.Collections.Generic.IEnumerable{OpenCvSharp.Mat},OpenCvSharp.Size,OpenCvSharp.InputOutputArray,OpenCvSharp.InputOutputArray,System.Collections.Generic.IEnumerable{OpenCvSharp.Mat}@,System.Collections.Generic.IEnumerable{OpenCvSharp.Mat}@,OpenCvSharp.FishEyeCalibrationFlags,System.Nullable{OpenCvSharp.TermCriteria})"]

See Also