http://www.emgu.com
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.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public void InitUndistortMap(
	int width,
	int height,
	out Matrix<float> mapx,
	out Matrix<float> mapy
)
Visual Basic
Public Sub InitUndistortMap ( _
	width As Integer, _
	height As Integer, _
	<OutAttribute> ByRef mapx As Matrix(Of Single), _
	<OutAttribute> ByRef mapy As Matrix(Of Single) _
)
Visual C++
public:
void InitUndistortMap(
	int width, 
	int height, 
	[OutAttribute] Matrix<float>^% mapx, 
	[OutAttribute] Matrix<float>^% mapy
)

Parameters

width
Type: System..::..Int32
The width of the image
height
Type: System..::..Int32
The height of the image
mapx
Type: Emgu.CV..::..Matrix<(Of <(<'Single>)>)>%
The output array of x-coordinates of the map
mapy
Type: Emgu.CV..::..Matrix<(Of <(<'Single>)>)>%
The output array of y-coordinates of the map

See Also