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
Public Shared Sub cvInitUndistortMap ( _
intrinsic_matrix As IntPtr, _
distortion_coeffs As IntPtr, _
mapx As IntPtr, _
mapy As IntPtr _
)

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)