Method UndistortPoints
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
UndistortPoints(InputArray, OutputArray, InputArray, InputArray, InputArray, InputArray)
Undistorts 2D points using fisheye model
public static void UndistortPoints(InputArray distorted, OutputArray undistorted, InputArray k, InputArray d, InputArray r = default, InputArray p = default)
Parameters
distortedInputArrayArray of object points, 1xN/Nx1 2-channel (or vector<Point2f> ), where N is the number of points in the view.
undistortedOutputArrayOutput array of image points, 1xN/Nx1 2-channel, or vector>Point2f> .
kInputArrayCamera matrix
dInputArrayInput vector of distortion coefficients (k_1, k_2, k_3, k_4).
rInputArrayRectification transformation in the object space: 3x3 1-channel, or vector: 3x1/1x3 1-channel or 1x1 3-channel
pInputArrayNew camera matrix (3x3) or new projection matrix (3x4)