我想提取FAST功能,基于从检测器继承,也可以交换了Features2D + Homography to find a known object如何从图像中提取FAST特征?
SurfFeatureDetector detector(minHessian);
std::vector<KeyPoint> keypoints_object, keypoints_scene;
detector.detect(img_object, keypoints_object);
detector.detect(img_scene, keypoints_scene);
//-- Step 2: Calculate descriptors (feature vectors)
SurfDescriptorExtractor extractor;
的类SurfFeatureDetector和FastFeatureDetector。但我找不到SurfDescriptorExtractor的匹配类,我希望找到类似FastDescriptorExtractor的类,但是像这样的类不可用。看起来很奇怪的是,如果我只将检测器更改为FastFeatureDetector,该示例似乎可以正常工作。
我的问题是:上述顺序应该如何适用于快速功能?
谢谢,请您加上参考文献 – stacker 2012-03-30 05:54:17
以下是原文:http://www.willowgarage.com/sites/default/files/orb_final.pdf。这里是ORB功能的文档:http://opencv.itseez.com/modules/features2d/doc/feature_detection_and_description.html#orb – cxyzs7 2012-03-31 03:47:43
根据示例代码替换的行是'// FlannBasedMatcher匹配器;'更改为' BruteForceMatcher匹配器;' –
stacker
2012-04-03 06:15:18