1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Merge pull request #1610 from alalek:ocl_fix_perf_kalman

This commit is contained in:
Andrey Pavlenko
2013-10-12 16:31:02 +04:00
committed by OpenCV Buildbot
+5 -3
View File
@@ -57,12 +57,14 @@ using std::tr1::get;
///////////// Kalman Filter ////////////////////////
typedef TestBaseWithParam<int> KalmanFilterFixture;
typedef tuple<int> KalmanFilterType;
typedef TestBaseWithParam<KalmanFilterType> KalmanFilterFixture;
PERF_TEST_P(KalmanFilterFixture, KalmanFilter,
::testing::Values(1000, 1500))
::testing::Values(1000, 1500))
{
const int dim = GetParam();
KalmanFilterType params = GetParam();
const int dim = get<0>(params);
cv::Mat sample(dim, 1, CV_32FC1), dresult;
randu(sample, -1, 1);