mirror of
https://github.com/opencv/opencv.git
synced 2024-11-30 22:40:17 +08:00
Unused code removed
This commit is contained in:
parent
27fb7e1802
commit
bb09d44e0a
@ -62,14 +62,6 @@ typedef TestBaseWithParam<PyrLKOpticalFlowParams> PyrLKOpticalFlowFixture;
|
||||
|
||||
OCL_PERF_TEST_P(PyrLKOpticalFlowFixture, PyrLKOpticalFlow,
|
||||
::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);
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user