removed legacy header

This commit is contained in:
Ernest Galbrun 2014-07-28 10:58:19 +02:00
parent 62fed8b7b2
commit df8f1a4355
2 changed files with 1 additions and 12 deletions

View File

@ -41,7 +41,6 @@
//M*/
#include "perf_precomp.hpp"
#include "opencv2/legacy.hpp"
using namespace std;
using namespace testing;
@ -373,16 +372,7 @@ PERF_TEST_P(ImagePair, OpticalFlowDual_TVL1,
}
else
{
cv::Mat flow;
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);
FAIL_NO_CPU();
}
}

View File

@ -41,7 +41,6 @@
//M*/
#include "test_precomp.hpp"
#include "opencv2/legacy.hpp"
#ifdef HAVE_CUDA