Updated test_features2d.cpp with latest API change
authorMichele Adduci <adduci.michele@gmail.com>
Wed, 5 Nov 2014 11:03:28 +0000 (12:03 +0100)
committerMichele Adduci <adduci.michele@gmail.com>
Wed, 5 Nov 2014 11:03:28 +0000 (12:03 +0100)
modules/cudafeatures2d/test/test_features2d.cpp

index 8f29616..6e4479b 100644 (file)
@@ -185,7 +185,7 @@ CUDA_TEST_P(ORB, Accuracy)
         cv::cuda::GpuMat descriptors;
         orb(loadMat(image), loadMat(mask), keypoints, descriptors);
 
-        cv::Ptr<cv::ORB> orb_gold;
+        cv::Ptr<cv::ORB> orb_gold = cv::ORB::create(nFeatures, scaleFactor, nLevels, edgeThreshold, firstLevel, WTA_K, scoreType, patchSize);
 
         std::vector<cv::KeyPoint> keypoints_gold;
         cv::Mat descriptors_gold;