Doc changes for feature changes 1544 and 1557
authorShubhra Pandit <shubhra.pandit@gmail.com>
Thu, 21 Aug 2014 00:33:21 +0000 (20:33 -0400)
committerShubhra Pandit <shubhra.pandit@gmail.com>
Thu, 21 Aug 2014 00:49:50 +0000 (20:49 -0400)
modules/calib3d/doc/camera_calibration_and_3d_reconstruction.rst

index 7a70f08..f1284e0 100644 (file)
@@ -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<Point2f>`` .
 
@@ -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::