Commit 914b78b8 authored by Michele Adduci's avatar Michele Adduci

Updated ORB test with parameters

parent e1bb8444
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment