Click or drag to resize
CvInvokeUndistort Method
http://www.emgu.com
Transforms the image to compensate radial and tangential lens distortion.

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax
public static void Undistort(
	IInputArray src,
	IOutputArray dst,
	IInputArray cameraMatrix,
	IInputArray distortionCoeffs,
	IInputArray newCameraMatrix = null
)

Parameters

src
Type: Emgu.CVIInputArray
The input (distorted) image
dst
Type: Emgu.CVIOutputArray
The output (corrected) image
cameraMatrix
Type: Emgu.CVIInputArray
The camera matrix (A) [fx 0 cx; 0 fy cy; 0 0 1].
distortionCoeffs
Type: Emgu.CVIInputArray
The vector of distortion coefficients, 4x1 or 1x4 [k1, k2, p1, p2].
newCameraMatrix (Optional)
Type: Emgu.CVIInputArray
Camera matrix of the distorted image. By default it is the same as cameraMatrix, but you may additionally scale and shift the result by using some different matrix
See Also