remove unused variables in OCL_PERF_TEST_P()
This commit is contained in:
parent
dba0f9fc8f
commit
3e5a69d8ba
@ -83,9 +83,7 @@ OCL_PERF_TEST_P(PyrLKOpticalFlowFixture, PyrLKOpticalFlow,
|
|||||||
const PyrLKOpticalFlowParams params = GetParam();
|
const PyrLKOpticalFlowParams params = GetParam();
|
||||||
const int pointsCount = get<0>(params);
|
const int pointsCount = get<0>(params);
|
||||||
|
|
||||||
vector<Point2f> pts, nextPts;
|
vector<Point2f> pts;
|
||||||
vector<unsigned char> status;
|
|
||||||
vector<float> err;
|
|
||||||
goodFeaturesToTrack(frame0, pts, pointsCount, 0.01, 0.0);
|
goodFeaturesToTrack(frame0, pts, pointsCount, 0.01, 0.0);
|
||||||
Mat ptsMat(1, static_cast<int>(pts.size()), CV_32FC2, (void *)&pts[0]);
|
Mat ptsMat(1, static_cast<int>(pts.size()), CV_32FC2, (void *)&pts[0]);
|
||||||
|
|
||||||
@ -99,4 +97,4 @@ OCL_PERF_TEST_P(PyrLKOpticalFlowFixture, PyrLKOpticalFlow,
|
|||||||
|
|
||||||
} } // namespace cvtest::ocl
|
} } // namespace cvtest::ocl
|
||||||
|
|
||||||
#endif // HAVE_OPENCL
|
#endif // HAVE_OPENCL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user