Click or drag to resize

CvInvokeUndistortPoints Method

http://www.emgu.com
Similar to cvInitUndistortRectifyMap and is opposite to it at the same time. The functions are similar in that they both are used to correct lens distortion and to perform the optional perspective (rectification) transformation. They are opposite because the function cvInitUndistortRectifyMap does actually perform the reverse transformation in order to initialize the maps properly, while this function does the forward transformation.

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 UndistortPoints(
	IInputArray src,
	IOutputArray dst,
	IInputArray cameraMatrix,
	IInputArray distCoeffs,
	IInputArray R = null,
	IInputArray P = null
)

Parameters

src
Type: Emgu.CVIInputArray
The observed point coordinates
dst
Type: Emgu.CVIOutputArray
The ideal point coordinates, after undistortion and reverse perspective transformation.
cameraMatrix
Type: Emgu.CVIInputArray
The camera matrix A=[fx 0 cx; 0 fy cy; 0 0 1]
distCoeffs
Type: Emgu.CVIInputArray
The vector of distortion coefficients, 4x1, 1x4, 5x1 or 1x5.
R (Optional)
Type: Emgu.CVIInputArray
The rectification transformation in object space (3x3 matrix). R1 or R2, computed by cvStereoRectify can be passed here. If the parameter is IntPtr.Zero, the identity matrix is used.
P (Optional)
Type: Emgu.CVIInputArray
The new camera matrix (3x3) or the new projection matrix (3x4). P1 or P2, computed by cvStereoRectify can be passed here. If the parameter is IntPtr.Zero, the identity matrix is used.
See Also