Click or drag to resize

Cv2FishEyeUndistortPoints Method

Undistorts 2D points using fisheye model

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void UndistortPoints(
	InputArray distorted,
	OutputArray undistorted,
	InputArray k,
	InputArray d,
	InputArray r = null,
	InputArray p = null
)

Parameters

distorted
Type: OpenCvSharpInputArray
Array of object points, 1xN/Nx1 2-channel (or vector<Point2f> ), where N is the number of points in the view.
undistorted
Type: OpenCvSharpOutputArray
Output array of image points, 1xN/Nx1 2-channel, or vector>Point2f> .
k
Type: OpenCvSharpInputArray
Camera matrix
d
Type: OpenCvSharpInputArray
Input vector of distortion coefficients (k_1, k_2, k_3, k_4).
r (Optional)
Type: OpenCvSharpInputArray
Rectification transformation in the object space: 3x3 1-channel, or vector: 3x1/1x3 1-channel or 1x1 3-channel
p (Optional)
Type: OpenCvSharpInputArray
New camera matrix (3x3) or new projection matrix (3x4)
See Also