Updated ORB test with parameters

This commit is contained in:
Michele Adduci 2014-11-05 12:00:31 +01:00
parent e1bb844475
commit 914b78b8bb
2 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ PERF_TEST_P(Image_NFeatures, ORB,
}
else
{
cv::Ptr<cv::ORB> orb;
cv::Ptr<cv::ORB> orb = cv::ORB::create(nFeatures);
std::vector<cv::KeyPoint> cpu_keypoints;
cv::Mat cpu_descriptors;

View File

@ -79,7 +79,7 @@ PERF_TEST_P(ImagePair, StereoBM,
}
else
{
cv::Ptr<cv::StereoBM> bm = cv::cuda::createStereoBM(ndisp);
cv::Ptr<cv::StereoBM> bm = cv::StereoBM::create(ndisp);
cv::Mat dst;