Skip to content

Commit

Permalink
removed legacy header
Browse files Browse the repository at this point in the history
  • Loading branch information
ernest-galbrun committed Jul 28, 2014
1 parent 62fed8b commit df8f1a4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
12 changes: 1 addition & 11 deletions modules/cudaoptflow/perf/perf_optflow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
//M*/

#include "perf_precomp.hpp"
#include "opencv2/legacy.hpp"

using namespace std;
using namespace testing;
Expand Down Expand Up @@ -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();
}
}

Expand Down
1 change: 0 additions & 1 deletion modules/cudaoptflow/test/test_optflow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
//M*/

#include "test_precomp.hpp"
#include "opencv2/legacy.hpp"

#ifdef HAVE_CUDA

Expand Down

0 comments on commit df8f1a4

Please sign in to comment.