Unused code removed

This commit is contained in:
vbystricky 2014-01-23 17:35:44 +04:00
parent 27fb7e1802
commit bb09d44e0a
2 changed files with 0 additions and 13 deletions

View File

@ -62,14 +62,6 @@ typedef TestBaseWithParam<PyrLKOpticalFlowParams> PyrLKOpticalFlowFixture;
OCL_PERF_TEST_P(PyrLKOpticalFlowFixture, PyrLKOpticalFlow, OCL_PERF_TEST_P(PyrLKOpticalFlowFixture, PyrLKOpticalFlow,
::testing::Values(1000, 2000, 4000) ::testing::Values(1000, 2000, 4000)
//::testing::Combine(
// ::testing::Values(
// make_tuple<int, double>(5, 1.1),
// make_tuple<int, double>(7, 1.5)
// ),
// farneFlagType::all(),
// ::testing::Bool()
// )
) )
{ {
Mat frame0 = imread(getDataPath("gpu/opticalflow/rubberwhale1.png"), cv::IMREAD_GRAYSCALE); Mat frame0 = imread(getDataPath("gpu/opticalflow/rubberwhale1.png"), cv::IMREAD_GRAYSCALE);

View File

@ -607,8 +607,6 @@ namespace cv
iters = 30; iters = 30;
derivLambda = 0.5; derivLambda = 0.5;
useInitialFlow = false; useInitialFlow = false;
//minEigThreshold = 1e-4f;
//getMinEigenVals = false;
} }
bool checkParam() bool checkParam()
@ -668,8 +666,6 @@ namespace cv
int iters; int iters;
double derivLambda; double derivLambda;
bool useInitialFlow; bool useInitialFlow;
//float minEigThreshold;
//bool getMinEigenVals;
private: private:
int waveSize; int waveSize;
@ -689,7 +685,6 @@ namespace cv
void calcPatchSize() void calcPatchSize()
{ {
dim3 block; dim3 block;
//winSize.width *= cn;
if (winSize.width > 32 && winSize.width > 2 * winSize.height) if (winSize.width > 32 && winSize.width > 2 * winSize.height)
{ {