| MatUndistortPoints Method  | 
        
         
            Computes the ideal point coordinates from the observed point coordinates.
            Input matrix is an observed point coordinates, 1xN or Nx1 2-channel (CV_32FC2 or CV_64FC2).
            
 
    Namespace: 
   OpenCvSharp
    Assembly:
   OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
 Syntax
Syntaxpublic Mat UndistortPoints(
	InputArray cameraMatrix,
	InputArray distCoeffs,
	InputArray r = null,
	InputArray p = null
)
Public Function UndistortPoints ( 
	cameraMatrix As InputArray,
	distCoeffs As InputArray,
	Optional r As InputArray = Nothing,
	Optional p As InputArray = Nothing
) As Mat
public:
Mat^ UndistortPoints(
	InputArray^ cameraMatrix, 
	InputArray^ distCoeffs, 
	InputArray^ r = nullptr, 
	InputArray^ p = nullptr
)
member UndistortPoints : 
        cameraMatrix : InputArray * 
        distCoeffs : InputArray * 
        ?r : InputArray * 
        ?p : InputArray 
(* Defaults:
        let _r = defaultArg r null
        let _p = defaultArg p null
*)
-> Mat 
function UndistortPoints(cameraMatrix, distCoeffs, r, p);
Parameters
- cameraMatrix
- Type: OpenCvSharpInputArray
 Camera matrix
- distCoeffs
- Type: OpenCvSharpInputArray
 Input vector of distortion coefficients (k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6]]) of 4, 5, or 8 elements. 
            If the vector is null, the zero distortion coefficients are assumed.
- r (Optional)
- Type: OpenCvSharpInputArray
 Rectification transformation in the object space (3x3 matrix). 
            R1 or R2 computed by stereoRectify() can be passed here. 
            If the matrix is empty, the identity transformation is used.
- p (Optional)
- Type: OpenCvSharpInputArray
 New camera matrix (3x3) or new projection matrix (3x4). 
            P1 or P2 computed by stereoRectify() can be passed here. If the matrix is empty, 
            the identity new camera matrix is used.
Return Value
Type: 
MatOutput ideal point coordinates after undistortion and reverse perspective transformation. 
            If matrix P is identity or omitted, dst will contain normalized point coordinates.
 See Also
See Also