Expose matchGMS to Python binder

pull/1546/head
Hamdi Sahloul 7 years ago
parent d8673bd74a
commit 389f2c5044
  1. 4
      modules/xfeatures2d/include/opencv2/xfeatures2d.hpp

@ -986,8 +986,8 @@ CV_EXPORTS void FASTForPointSet( InputArray image, CV_IN_OUT std::vector<KeyPoin
If your images have big rotation and scale changes, please set withRotation or withScale to true.
*/
CV_EXPORTS void matchGMS( const Size& size1, const Size& size2, const std::vector<KeyPoint>& keypoints1, const std::vector<KeyPoint>& keypoints2,
const std::vector<DMatch>& matches1to2, std::vector<DMatch>& matchesGMS, const bool withRotation = false,
CV_EXPORTS_W void matchGMS( const Size& size1, const Size& size2, const std::vector<KeyPoint>& keypoints1, const std::vector<KeyPoint>& keypoints2,
const std::vector<DMatch>& matches1to2, CV_OUT std::vector<DMatch>& matchesGMS, const bool withRotation = false,
const bool withScale = false, const double thresholdFactor = 6.0 );
//! @}

Loading…
Cancel
Save