First time here? Check out the FAQ!
answered 2014-04-15 03:25:17 -0600
You can use the explicit constructor instead of the create method (haven't tested it, but should work like this):
cv::Ptr<cv::FeatureDetector> mysurf = cv::Ptr<cv::FeatureDetector>( new cv::SURF(100) );