-
Notifications
You must be signed in to change notification settings - Fork 359
Open
Description
python示例代码的这行:
GMS-Feature-Matcher/python/opencv_demo.py
Line 75 in d187b36
| matches_gms = matchGMS(img1.shape[:2], img2.shape[:2], kp1, kp2, matches_all, withScale=False, withRotation=False, thresholdFactor=6) |
按照定义,前两个参数是size行列,这里是shape列行。
void cv::xfeatures2d::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,
const bool withScale = false,
const double thresholdFactor = 6.0
)对这些数据结构不太熟悉,还请指教确认。
Metadata
Metadata
Assignees
Labels
No labels