Click or drag to resize

Cv2FishEyeInitUndistortRectifyMap Method

Computes undistortion and rectification maps for image transform by cv::remap(). If D is empty zero distortion is used, if R or P is empty identity matrixes are used.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void InitUndistortRectifyMap(
	InputArray k,
	InputArray d,
	InputArray r,
	InputArray p,
	Size size,
	int m1type,
	OutputArray map1,
	OutputArray map2
)

Parameters

k
Type: OpenCvSharpInputArray
Camera matrix
d
Type: OpenCvSharpInputArray
Input vector of distortion coefficients (k_1, k_2, k_3, k_4).
r
Type: OpenCvSharpInputArray
Rectification transformation in the object space: 3x3 1-channel, or vector: 3x1/1x3 1-channel or 1x1 3-channel
p
Type: OpenCvSharpInputArray
New camera matrix (3x3) or new projection matrix (3x4)
size
Type: OpenCvSharpSize
Undistorted image size.
m1type
Type: SystemInt32
Type of the first output map that can be CV_32FC1 or CV_16SC2 . See convertMaps() for details.
map1
Type: OpenCvSharpOutputArray
The first output map.
map2
Type: OpenCvSharpOutputArray
The second output map.
See Also