Click or drag to resize

FisheyeUndistorPoints Method

http://www.emgu.com
Transforms an image to compensate for fisheye lens distortion.

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 UndistorPoints(
	IInputArray distorted,
	IOutputArray undistorted,
	IInputArray K,
	IInputArray D,
	IInputArray R = null,
	IInputArray P = null
)

Parameters

distorted
Type: Emgu.CVIInputArray
Array of object points, 1xN/Nx1 2-channel (or vector<Point2f> ), where N is the number of points in the view.
undistorted
Type: Emgu.CVIOutputArray
Output array of image points, 1xN/Nx1 2-channel, or vector<Point2f>.
K
Type: Emgu.CVIInputArray
Camera matrix
D
Type: Emgu.CVIInputArray
Input vector of distortion coefficients (k1,k2,k3,k4).
R (Optional)
Type: Emgu.CVIInputArray
Rectification transformation in the object space: 3x3 1-channel, or vector: 3x1/1x3 1-channel or 1x1 3-channel
P (Optional)
Type: Emgu.CVIInputArray
New camera matrix (3x3) or new projection matrix (3x4)
See Also