Emgu CV Library Documentation
cvInitUndistortMap Method (intrinsic_matrix, distortion_coeffs, 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 intrinsic_matrix,
	IntPtr distortion_coeffs,
	IntPtr mapx,
	IntPtr mapy
)
Public Shared Sub cvInitUndistortMap ( _
	intrinsic_matrix As IntPtr, _
	distortion_coeffs As IntPtr, _
	mapx As IntPtr, _
	mapy As IntPtr _
)
public:
static void cvInitUndistortMap(
	IntPtr intrinsic_matrix, 
	IntPtr distortion_coeffs, 
	IntPtr mapx, 
	IntPtr mapy
)
Parameters
intrinsic_matrix (IntPtr)
The camera matrix (A) [fx 0 cx; 0 fy cy; 0 0 1]
distortion_coeffs (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.3.0.0 (1.3.0.0)