Emgu CV Library Documentation
cvInitUndistortMap Method (intrinsicMatrix, distortionCoeffs, mapx, mapy)
NamespacesEmgu.CVCvInvokecvInitUndistortMap(IntPtr, IntPtr, IntPtr, IntPtr)

www.emgu.com/wiki
Pre-computes the undistortion map - coordinates of the corresponding pixel in the distorted image for every pixel in the corrected image. Then, the map (together with input and output images) can be passed to cvRemap function.
Declaration Syntax
C#Visual BasicVisual C++
public static void cvInitUndistortMap(
	IntPtr intrinsicMatrix,
	IntPtr distortionCoeffs,
	IntPtr mapx,
	IntPtr mapy
)
Public Shared Sub cvInitUndistortMap ( _
	intrinsicMatrix As IntPtr, _
	distortionCoeffs As IntPtr, _
	mapx As IntPtr, _
	mapy As IntPtr _
)
public:
static void cvInitUndistortMap(
	IntPtr intrinsicMatrix, 
	IntPtr distortionCoeffs, 
	IntPtr mapx, 
	IntPtr mapy
)
Parameters
intrinsicMatrix (IntPtr)
The camera matrix (A) [fx 0 cx; 0 fy cy; 0 0 1]
distortionCoeffs (IntPtr)
The vector of distortion coefficients, 4x1 or 1x4 [k1, k2, p1, p2].
mapx (IntPtr)
The output array of x-coordinates of the map
mapy (IntPtr)
The output array of y-coordinates of the map

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.5.0.0 (1.5.0.0)