I want to extract FAST functions based on Features2D + Homography to find a known object
SurfFeatureDetector detector( minHessian );
std::vector<KeyPoint> keypoints_object, keypoints_scene;
detector.detect( img_object, keypoints_object );
detector.detect( img_scene, keypoints_scene );
SurfDescriptorExtractor extractor;
The SurfFeatureDetector and FastFeatureDetector classes are inherited from the Detector and can be exchanged. But I could not find a suitable class for SurfDescriptorExtractor, which I expected to find something like FastDescriptorExtractor, but a class like this is not available. It seems strange that if I only change the detector to FastFeatureDetector, the example seems correct.
My question is: what should this sequence look like for quick functions?
source
share