mirror of
https://github.com/opencv/opencv.git
synced 2024-12-03 00:10:21 +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,
|
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);
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user