CvArrUndistort2 Method (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 void Undistort2(
	CvArr dst,
	CvMat intrinsicMatrix,
	CvMat distortionCoeffs
)

Parameters

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