warning corrections
authorabidrahmank <abidrahman2@gmail.com>
Fri, 30 Aug 2013 10:28:10 +0000 (15:58 +0530)
committerabidrahmank <abidrahman2@gmail.com>
Fri, 30 Aug 2013 10:28:10 +0000 (15:58 +0530)
modules/core/doc/basic_structures.rst

index f768a54..b1cf053 100644 (file)
@@ -643,20 +643,20 @@ KeyPoint::convert
 
 This method converts vector of keypoints to vector of points or the reverse, where each keypoint is assigned the same size and the same orientation.
 
-.. ocv:function:: KeyPoint::convert(const std::vector<KeyPoint>& keypoints, CV_OUT std::vector<Point2f>& points2f, const std::vector<int>& keypointIndexes=std::vector<int>())
+.. ocv:function:: void KeyPoint::convert(const std::vector<KeyPoint>& keypoints, std::vector<Point2f>& points2f, const std::vector<int>& keypointIndexes=std::vector<int>())
 
-.. ocv:function:: KeyPoint::convert(const std::vector<Point2f>& points2f, CV_OUT std::vector<KeyPoint>& keypoints, float size=1, float response=1, int octave=0, int class_id=-1)
+.. ocv:function:: void KeyPoint::convert(const std::vector<Point2f>& points2f, std::vector<KeyPoint>& keypoints, float size=1, float response=1, int octave=0, int class_id=-1)
 
 .. ocv:pyfunction:: cv2.KeyPoint_convert(keypoints[, keypointIndexes]) -> points2f
 
 .. ocv:pyfunction:: cv2.KeyPoint_convert(points2f[, size[, response[, octave[, class_id]]]]) -> keypoints
 
     :param keypoints: Keypoints obtained from any feature detection algorithm like SIFT/SURF/ORB
-    
+
     :param points2f: Array of (x,y) coordinates of each keypoint
-    
+
     :param keypointIndexes: Array of indexes of keypoints to be converted to points. (Acts like a mask to convert only specified keypoints)
-    
+
     :param _size: keypoint diameter
 
     :param _response: keypoint detector response on the keypoint (that is, strength of the keypoint)
@@ -671,15 +671,15 @@ KeyPoint::overlap
 
 This method computes overlap for pair of keypoints. Overlap is the ratio between area of keypoint regions' intersection and area of keypoint regions' union (considering keypoint region as circle). If they don't overlap, we get zero. If they coincide at same location with same size, we get 1.
 
-.. ocv:function:: KeyPoint::overlap(const KeyPoint& kp1, const KeyPoint& kp2)
+.. ocv:function:: float KeyPoint::overlap(const KeyPoint& kp1, const KeyPoint& kp2)
 
 .. ocv:pyfunction:: cv2.KeyPoint_overlap(kp1, kp2) -> retval
 
     :param kp1: First keypoint
-    
+
     :param kp2: Second keypoint
-    
+
+
 DMatch
 ------
 .. ocv:class:: DMatch