Commit df8f1a43 authored by Ernest Galbrun's avatar Ernest Galbrun

removed legacy header

parent 62fed8b7
...@@ -41,7 +41,6 @@ ...@@ -41,7 +41,6 @@
//M*/ //M*/
#include "perf_precomp.hpp" #include "perf_precomp.hpp"
#include "opencv2/legacy.hpp"
using namespace std; using namespace std;
using namespace testing; using namespace testing;
...@@ -373,16 +372,7 @@ PERF_TEST_P(ImagePair, OpticalFlowDual_TVL1, ...@@ -373,16 +372,7 @@ PERF_TEST_P(ImagePair, OpticalFlowDual_TVL1,
} }
else else
{ {
cv::Mat flow; FAIL_NO_CPU();
cv::Ptr<cv::DenseOpticalFlow> alg = cv::createOptFlow_DualTVL1();
alg->set("medianFiltering", 1);
alg->set("innerIterations", 1);
alg->set("outerIterations", 300);
TEST_CYCLE() alg->calc(frame0, frame1, flow);
CPU_SANITY_CHECK(flow);
} }
} }
......
...@@ -41,7 +41,6 @@ ...@@ -41,7 +41,6 @@
//M*/ //M*/
#include "test_precomp.hpp" #include "test_precomp.hpp"
#include "opencv2/legacy.hpp"
#ifdef HAVE_CUDA #ifdef HAVE_CUDA
......
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