Updated test_features2d.cpp with latest API change

This commit is contained in:
Michele Adduci 2014-11-05 12:03:28 +01:00
parent 914b78b8bb
commit e181c76d21

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