Click or drag to resize

FisheyeInitUndistorRectifyMap Method

http://www.emgu.com
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:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public static void InitUndistorRectifyMap(
	IInputArray K,
	IInputArray D,
	IInputArray R,
	IInputArray P,
	Size size,
	DepthType m1Type,
	IOutputArray map1,
	IOutputArray map2
)

Parameters

K
Type: Emgu.CVIInputArray
Camera matrix
D
Type: Emgu.CVIInputArray
Input vector of distortion coefficients (k1,k2,k3,k4).
R
Type: Emgu.CVIInputArray
Rectification transformation in the object space: 3x3 1-channel, or vector: 3x1/1x3 1-channel or 1x1 3-channel
P
Type: Emgu.CVIInputArray
New camera matrix (3x3) or new projection matrix (3x4)
size
Type: System.DrawingSize
Undistorted image size.
m1Type
Type: Emgu.CV.CvEnumDepthType
Type of the first output map that can be CV_32FC1 or CV_16SC2 . See convertMaps() for details.
map1
Type: Emgu.CVIOutputArray
The first output map.
map2
Type: Emgu.CVIOutputArray
The second output map.
See Also