Click or drag to resize

FisheyeCalibrate Method

http://www.emgu.com
Performs camera calibaration.

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public static void Calibrate(
	IInputArray objectPoints,
	IInputArray imagePoints,
	Size imageSize,
	IInputOutputArray K,
	IInputOutputArray D,
	IOutputArray rvecs,
	IOutputArray tvecs,
	FisheyeCalibrationFlag flags,
	MCvTermCriteria criteria
)

Parameters

objectPoints
Type: Emgu.CVIInputArray
vector of vectors of calibration pattern points in the calibration pattern coordinate space.
imagePoints
Type: Emgu.CVIInputArray
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: System.DrawingSize
Size of the image used only to initialize the intrinsic camera matrix.
K
Type: Emgu.CVIInputOutputArray
Output 3x3 floating-point camera matrix. If UseIntrisicGuess is specified, some or all of fx, fy, cx, cy must be initialized before calling the function.
D
Type: Emgu.CVIInputOutputArray
Output vector of distortion coefficients (k1,k2,k3,k4).
rvecs
Type: Emgu.CVIOutputArray
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: Emgu.CVIOutputArray
Output vector of translation vectors estimated for each pattern view.
flags
Type: Emgu.CVFisheyeCalibrationFlag
Different flags
criteria
Type: Emgu.CV.StructureMCvTermCriteria
Termination criteria for the iterative optimization algorithm.
See Also