Updated ORB test with parameters
This commit is contained in:
parent
e1bb844475
commit
914b78b8bb
@ -128,7 +128,7 @@ PERF_TEST_P(Image_NFeatures, ORB,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cv::Ptr<cv::ORB> orb;
|
cv::Ptr<cv::ORB> orb = cv::ORB::create(nFeatures);
|
||||||
|
|
||||||
std::vector<cv::KeyPoint> cpu_keypoints;
|
std::vector<cv::KeyPoint> cpu_keypoints;
|
||||||
cv::Mat cpu_descriptors;
|
cv::Mat cpu_descriptors;
|
||||||
|
@ -79,7 +79,7 @@ PERF_TEST_P(ImagePair, StereoBM,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cv::Ptr<cv::StereoBM> bm = cv::cuda::createStereoBM(ndisp);
|
cv::Ptr<cv::StereoBM> bm = cv::StereoBM::create(ndisp);
|
||||||
|
|
||||||
cv::Mat dst;
|
cv::Mat dst;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user