SURF在3.1.0下的用法


   Ptr<SURF> detector = SURF::create();
   detector->detect(img_1, keypoints_1);


    Ptr<SURF> extractor = SURF::create();
    extractor->compute(img_1, keypoints_1, descriptors_1);


       Ptr<DescriptorMatcher> matcher = DescriptorMatcher::create("BruteForce");
matcher->match(descriptors_1, descriptors_2, matches);

猜你喜欢

转载自blog.csdn.net/csdn330/article/details/77951412
今日推荐