From bb09d44e0aa4cf109d39f566f9695f7b438a8a53 Mon Sep 17 00:00:00 2001 From: vbystricky Date: Thu, 23 Jan 2014 17:35:44 +0400 Subject: [PATCH] Unused code removed --- modules/video/perf/opencl/perf_optflow_pyrlk.cpp | 8 -------- modules/video/src/lkpyramid.cpp | 5 ----- 2 files changed, 13 deletions(-) diff --git a/modules/video/perf/opencl/perf_optflow_pyrlk.cpp b/modules/video/perf/opencl/perf_optflow_pyrlk.cpp index 6a3f62cf77..b2492e1141 100644 --- a/modules/video/perf/opencl/perf_optflow_pyrlk.cpp +++ b/modules/video/perf/opencl/perf_optflow_pyrlk.cpp @@ -62,14 +62,6 @@ typedef TestBaseWithParam PyrLKOpticalFlowFixture; OCL_PERF_TEST_P(PyrLKOpticalFlowFixture, PyrLKOpticalFlow, ::testing::Values(1000, 2000, 4000) - //::testing::Combine( - // ::testing::Values( - // make_tuple(5, 1.1), - // make_tuple(7, 1.5) - // ), - // farneFlagType::all(), - // ::testing::Bool() - // ) ) { Mat frame0 = imread(getDataPath("gpu/opticalflow/rubberwhale1.png"), cv::IMREAD_GRAYSCALE); diff --git a/modules/video/src/lkpyramid.cpp b/modules/video/src/lkpyramid.cpp index 2ba20d3159..382914b2da 100644 --- a/modules/video/src/lkpyramid.cpp +++ b/modules/video/src/lkpyramid.cpp @@ -607,8 +607,6 @@ namespace cv iters = 30; derivLambda = 0.5; useInitialFlow = false; - //minEigThreshold = 1e-4f; - //getMinEigenVals = false; } bool checkParam() @@ -668,8 +666,6 @@ namespace cv int iters; double derivLambda; bool useInitialFlow; - //float minEigThreshold; - //bool getMinEigenVals; private: int waveSize; @@ -689,7 +685,6 @@ namespace cv void calcPatchSize() { dim3 block; - //winSize.width *= cn; if (winSize.width > 32 && winSize.width > 2 * winSize.height) {