Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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) );