From e181c76d21162731b5de236f6476690bf61ce83c Mon Sep 17 00:00:00 2001 From: Michele Adduci Date: Wed, 5 Nov 2014 12:03:28 +0100 Subject: [PATCH] Updated test_features2d.cpp with latest API change --- modules/cudafeatures2d/test/test_features2d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cudafeatures2d/test/test_features2d.cpp b/modules/cudafeatures2d/test/test_features2d.cpp index 8f29616..6e4479b 100644 --- a/modules/cudafeatures2d/test/test_features2d.cpp +++ b/modules/cudafeatures2d/test/test_features2d.cpp @@ -185,7 +185,7 @@ CUDA_TEST_P(ORB, Accuracy) cv::cuda::GpuMat descriptors; orb(loadMat(image), loadMat(mask), keypoints, descriptors); - cv::Ptr orb_gold; + cv::Ptr orb_gold = cv::ORB::create(nFeatures, scaleFactor, nLevels, edgeThreshold, firstLevel, WTA_K, scoreType, patchSize); std::vector keypoints_gold; cv::Mat descriptors_gold; -- 2.7.4