From 159cc29bb5bc2598c8ac5dfcebe38cf63724ef2c Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Wed, 23 May 2012 13:01:40 +0000 Subject: [PATCH] fixed undistortPoints description (ticket #1964) --- modules/imgproc/doc/geometric_transformations.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/imgproc/doc/geometric_transformations.rst b/modules/imgproc/doc/geometric_transformations.rst index 8904b42..800790b 100644 --- a/modules/imgproc/doc/geometric_transformations.rst +++ b/modules/imgproc/doc/geometric_transformations.rst @@ -665,7 +665,7 @@ Computes the ideal point coordinates from the observed point coordinates. :param src: Observed point coordinates, 1xN or Nx1 2-channel (CV_32FC2 or CV_64FC2). - :param dst: Output ideal point coordinates after undistortion and reverse perspective transformation. + :param dst: Output ideal point coordinates after undistortion and reverse perspective transformation. If matrix ``P`` is identity or omitted, ``dst`` will contain normalized point coordinates. :param cameraMatrix: Camera matrix :math:`\vecthreethree{f_x}{0}{c_x}{0}{f_y}{c_y}{0}{0}{1}` . @@ -688,6 +688,7 @@ The function is similar to (x',y') = undistort(x",y",dist_coeffs) [X,Y,W]T = R*[x' y' 1]T x = X/W, y = Y/W + // only performed if P=[fx' 0 cx' [tx]; 0 fy' cy' [ty]; 0 0 1 [tz]] is specified u' = x*fx' + cx' v' = y*fy' + cy', -- 2.7.4