CvInitUndistortRectifyMap Method OpenCvSharp Class Library
Computes undistortion+rectification transformation map a head of stereo camera

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

public static void InitUndistortRectifyMap(
	CvMat cameraMatrix,
	CvMat distCoeffs,
	CvMat R,
	CvMat newCameraMatrix,
	CvArr mapx,
	CvArr mapy
)

Parameters

cameraMatrix
Type: OpenCvSharpCvMat
The camera matrix A=[fx 0 cx; 0 fy cy; 0 0 1].
distCoeffs
Type: OpenCvSharpCvMat
The vector of distortion coefficients, 4x1, 1x4, 5x1 or 1x5.
R
Type: OpenCvSharpCvMat
The rectification transformation in object space (3x3 matrix). R1 or R2, computed by cvStereoRectify can be passed here. If the parameter is null, the identity matrix is used.
newCameraMatrix
Type: OpenCvSharpCvMat
The new camera matrix A'=[fx' 0 cx'; 0 fy' cy'; 0 0 1].
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