我尝试使用“SurfFeatureDetector”和“SurfDescriptorExtractor”,但在新版本 2.4.1 中,我们只有“SurfFeaturesFinder”和需要结构“ImageFeatures”的运算符,我开发了一个示例以在功能描述中使用它,如下所示:
//Detect the keypoints and Calculate descriptors using SURF Detector
int minHessian = 400;
detail::SurfFeaturesFinder detector(minHessian);
detail::ImageFeatures myobjfeatures,myscnfeatures;
detector (img_object,myobjfeatures);// i have an error here
detector (img_scene,myscnfeatures);
我有这个错误:Microsoft C++ 异常:cv::Exception at memory location 0x001cbe30..