Update fisheye::distortPoints() documentation

This commit is contained in:
Kataev Victor 2022-05-23 14:30:09 +03:00
parent 7e845a3b87
commit 1ddc51cfd1

View File

@ -3799,8 +3799,7 @@ namespace fisheye
@param distorted Output array of image points, 1xN/Nx1 2-channel, or vector\<Point2f\> . @param distorted Output array of image points, 1xN/Nx1 2-channel, or vector\<Point2f\> .
Note that the function assumes the camera intrinsic matrix of the undistorted points to be identity. Note that the function assumes the camera intrinsic matrix of the undistorted points to be identity.
This means if you want to transform back points undistorted with #fisheye::undistortPoints you have to This means if you want to distort image points you have to multiply them with \f$K^{-1}\f$.
multiply them with \f$P^{-1}\f$.
*/ */
CV_EXPORTS_W void distortPoints(InputArray undistorted, OutputArray distorted, InputArray K, InputArray D, double alpha = 0); CV_EXPORTS_W void distortPoints(InputArray undistorted, OutputArray distorted, InputArray K, InputArray D, double alpha = 0);