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)
Syntaxpublic static void UndistorPoints(
IInputArray distorted,
IOutputArray undistorted,
IInputArray K,
IInputArray D,
IInputArray R = null,
IInputArray P = null
)
Public Shared Sub UndistorPoints (
distorted As IInputArray,
undistorted As IOutputArray,
K As IInputArray,
D As IInputArray,
Optional R As IInputArray = Nothing,
Optional P As IInputArray = Nothing
)
public:
static void UndistorPoints(
IInputArray^ distorted,
IOutputArray^ undistorted,
IInputArray^ K,
IInputArray^ D,
IInputArray^ R = nullptr,
IInputArray^ P = nullptr
)
static member UndistorPoints :
distorted : IInputArray *
undistorted : IOutputArray *
K : IInputArray *
D : IInputArray *
?R : IInputArray *
?P : IInputArray
(* Defaults:
let _R = defaultArg R null
let _P = defaultArg P null
*)
-> unit
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