From 7b2a1d15ccf1cdee14a73281326df28791c65313 Mon Sep 17 00:00:00 2001 From: Shubhra Pandit Date: Wed, 20 Aug 2014 20:33:21 -0400 Subject: [PATCH] Doc changes for feature changes 1544 and 1557 --- modules/calib3d/doc/camera_calibration_and_3d_reconstruction.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.rst b/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.rst index 7a70f08..f1284e0 100644 --- a/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.rst +++ b/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.rst @@ -839,11 +839,11 @@ findHomography ------------------ Finds a perspective transformation between two planes. -.. ocv:function:: Mat findHomography( InputArray srcPoints, InputArray dstPoints, int method=0, double ransacReprojThreshold=3, OutputArray mask=noArray() ) +.. ocv:function:: Mat findHomography( InputArray srcPoints, InputArray dstPoints, int method=0, double ransacReprojThreshold=3, OutputArray mask=noArray(), const int maxIters = 2000, const double confidence = 0.995) .. ocv:pyfunction:: cv2.findHomography(srcPoints, dstPoints[, method[, ransacReprojThreshold[, mask]]]) -> retval, mask -.. ocv:cfunction:: int cvFindHomography( const CvMat* src_points, const CvMat* dst_points, CvMat* homography, int method=0, double ransacReprojThreshold=3, CvMat* mask=0 ) +.. ocv:cfunction:: int cvFindHomography( const CvMat* src_points, const CvMat* dst_points, CvMat* homography, int method=0, double ransacReprojThreshold=3, CvMat* mask=0, int maxIters = 2000, double confidence = 0.995) :param srcPoints: Coordinates of the points in the original plane, a matrix of the type ``CV_32FC2`` or ``vector`` . @@ -867,6 +867,10 @@ Finds a perspective transformation between two planes. :param mask: Optional output mask set by a robust method ( ``RANSAC`` or ``LMEDS`` ). Note that the input mask values are ignored. + :param maxIters: The maximum number of RANSAC iterations, 2000 is the maximum it can be. + + :param confidence: Confidence level, between 0 and 1. + The functions find and return the perspective transformation :math:`H` between the source and the destination planes: .. math:: -- 2.7.4