|
|
|
@ -156,7 +156,7 @@ public: |
|
|
|
|
* keypoints The input keypoints. Keypoints for which a descriptor cannot be computed are removed. |
|
|
|
|
* descriptors Copmputed descriptors. Row i is the descriptor for keypoint i. |
|
|
|
|
*/ |
|
|
|
|
CV_WRAP void compute( InputArray image, CV_OUT CV_IN_OUT std::vector<KeyPoint>& keypoints, CV_OUT OutputArray descriptors ) const; |
|
|
|
|
CV_WRAP void compute( InputArray image, CV_OUT CV_IN_OUT std::vector<KeyPoint>& keypoints, OutputArray descriptors ) const; |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Compute the descriptors for a keypoints collection detected in image collection. |
|
|
|
@ -207,7 +207,7 @@ public: |
|
|
|
|
OutputArray descriptors, |
|
|
|
|
bool useProvidedKeypoints=false ) const = 0; |
|
|
|
|
|
|
|
|
|
CV_WRAP void compute( InputArray image, CV_OUT CV_IN_OUT std::vector<KeyPoint>& keypoints, CV_OUT OutputArray descriptors ) const; |
|
|
|
|
CV_WRAP void compute( InputArray image, CV_OUT CV_IN_OUT std::vector<KeyPoint>& keypoints, OutputArray descriptors ) const; |
|
|
|
|
|
|
|
|
|
// Create feature detector and descriptor extractor by name.
|
|
|
|
|
CV_WRAP static Ptr<Feature2D> create( const String& name ); |
|
|
|
@ -1411,19 +1411,19 @@ struct CV_EXPORTS DrawMatchesFlags |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
// Draw keypoints.
|
|
|
|
|
CV_EXPORTS_W void drawKeypoints( InputArray image, const std::vector<KeyPoint>& keypoints, CV_OUT InputOutputArray outImage, |
|
|
|
|
CV_EXPORTS_W void drawKeypoints( InputArray image, const std::vector<KeyPoint>& keypoints, InputOutputArray outImage, |
|
|
|
|
const Scalar& color=Scalar::all(-1), int flags=DrawMatchesFlags::DEFAULT ); |
|
|
|
|
|
|
|
|
|
// Draws matches of keypints from two images on output image.
|
|
|
|
|
CV_EXPORTS_W void drawMatches( InputArray img1, const std::vector<KeyPoint>& keypoints1, |
|
|
|
|
InputArray img2, const std::vector<KeyPoint>& keypoints2, |
|
|
|
|
const std::vector<DMatch>& matches1to2, CV_OUT InputOutputArray outImg, |
|
|
|
|
const std::vector<DMatch>& matches1to2, InputOutputArray outImg, |
|
|
|
|
const Scalar& matchColor=Scalar::all(-1), const Scalar& singlePointColor=Scalar::all(-1), |
|
|
|
|
const std::vector<char>& matchesMask=std::vector<char>(), int flags=DrawMatchesFlags::DEFAULT ); |
|
|
|
|
|
|
|
|
|
CV_EXPORTS_AS(drawMatchesKnn) void drawMatches( InputArray img1, const std::vector<KeyPoint>& keypoints1, |
|
|
|
|
InputArray img2, const std::vector<KeyPoint>& keypoints2, |
|
|
|
|
const std::vector<std::vector<DMatch> >& matches1to2, CV_OUT InputOutputArray outImg, |
|
|
|
|
const std::vector<std::vector<DMatch> >& matches1to2, InputOutputArray outImg, |
|
|
|
|
const Scalar& matchColor=Scalar::all(-1), const Scalar& singlePointColor=Scalar::all(-1), |
|
|
|
|
const std::vector<std::vector<char> >& matchesMask=std::vector<std::vector<char> >(), int flags=DrawMatchesFlags::DEFAULT ); |
|
|
|
|
|
|
|
|
|