CvUndistort2 Method (CvArr, CvArr, CvMat, CvMat) OpenCvSharp Class Library
Transforms image to compensate lens distortion.

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

public static void Undistort2(
	CvArr src,
	CvArr dst,
	CvMat intrinsicMatrix,
	CvMat distortionCoeffs
)

Parameters

src
Type: OpenCvSharpCvArr
The input (distorted) image.
dst
Type: OpenCvSharpCvArr
The output (corrected) image.
intrinsicMatrix
Type: OpenCvSharpCvMat
The camera matrix (A) [fx 0 cx; 0 fy cy; 0 0 1].
distortionCoeffs
Type: OpenCvSharpCvMat
The vector of distortion coefficients, 4x1 or 1x4 [k1, k2, p1, p2].
See Also

Reference