| 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
)
Public Shared Sub UndistortPoints (
distorted As InputArray,
undistorted As OutputArray,
k As InputArray,
d As InputArray,
Optional r As InputArray = Nothing,
Optional p As InputArray = Nothing
)
public:
static void UndistortPoints(
InputArray^ distorted,
OutputArray^ undistorted,
InputArray^ k,
InputArray^ d,
InputArray^ r = nullptr,
InputArray^ p = nullptr
)
static member UndistortPoints :
distorted : InputArray *
undistorted : OutputArray *
k : InputArray *
d : InputArray *
?r : InputArray *
?p : InputArray
(* Defaults:
let _r = defaultArg r null
let _p = defaultArg p null
*)
-> unit
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