|
|
|
@ -552,12 +552,12 @@ public: |
|
|
|
|
|
|
|
|
|
//! converts vector of keypoints to vector of points
|
|
|
|
|
CV_WRAP static void convert(const std::vector<KeyPoint>& keypoints, |
|
|
|
|
CV_OUT std::vector<Point2f>& points2f, |
|
|
|
|
const std::vector<int>& keypointIndexes=std::vector<int>()); |
|
|
|
|
CV_OUT std::vector<Point2f>& points2f, |
|
|
|
|
const std::vector<int>& keypointIndexes=std::vector<int>()); |
|
|
|
|
//! converts vector of points to the vector of keypoints, where each keypoint is assigned the same size and the same orientation
|
|
|
|
|
CV_WRAP static void 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); |
|
|
|
|
CV_OUT std::vector<KeyPoint>& keypoints, |
|
|
|
|
float size=1, float response=1, int octave=0, int class_id=-1); |
|
|
|
|
|
|
|
|
|
//! computes overlap for pair of keypoints;
|
|
|
|
|
//! overlap is a ratio between area of keypoint regions intersection and
|
|
|
|
|