Click or drag to resize

Cv2UndistortPointsIter Method

Computes the ideal point coordinates from the observed point coordinates.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void UndistortPointsIter(
	InputArray src,
	OutputArray dst,
	InputArray cameraMatrix,
	InputArray distCoeffs,
	InputArray r = null,
	InputArray p = null,
	Nullable<TermCriteria> termCriteria = null
)

Parameters

src
Type: OpenCvSharpInputArray
Observed point coordinates, 1xN or Nx1 2-channel (CV_32FC2 or CV_64FC2).
dst
Type: OpenCvSharpOutputArray
Output ideal point coordinates after undistortion and reverse perspective transformation. If matrix P is identity or omitted, dst will contain normalized point coordinates.
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.
termCriteria (Optional)
Type: SystemNullableTermCriteria

[Missing <param name="termCriteria"/> documentation for "M:OpenCvSharp.Cv2.UndistortPointsIter(OpenCvSharp.InputArray,OpenCvSharp.OutputArray,OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.InputArray,System.Nullable{OpenCvSharp.TermCriteria})"]

See Also