CvInitUndistortMap Method OpenCvSharp Class Library
Pre-computes the undistortion map - coordinates of the corresponding pixel in the distorted image for every pixel in the corrected image.

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

public static void InitUndistortMap(
	CvMat intrinsicMatrix,
	CvMat distortionCoeffs,
	CvArr mapx,
	CvArr mapy
)

Parameters

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].
mapx
Type: OpenCvSharpCvArr
The output array of x-coordinates of the map.
mapy
Type: OpenCvSharpCvArr
The output array of y-coordinates of the map.
See Also

Reference