projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfa5a27
)
fixed ocl::Moments test
author
Ilya Lavrenov
<ilya.lavrenov@itseez.com>
Thu, 31 Oct 2013 20:07:10 +0000
(
00:07
+0400)
committer
Ilya Lavrenov
<ilya.lavrenov@itseez.com>
Thu, 31 Oct 2013 20:09:11 +0000
(
00:09
+0400)
modules/ocl/perf/perf_moments.cpp
patch
|
blob
|
history
diff --git
a/modules/ocl/perf/perf_moments.cpp
b/modules/ocl/perf/perf_moments.cpp
index
4da7de0
..
c5d616f
100644
(file)
--- a/
modules/ocl/perf/perf_moments.cpp
+++ b/
modules/ocl/perf/perf_moments.cpp
@@
-63,7
+63,7
@@
typedef TestBaseWithParam<MomentsParamType> MomentsFixture;
PERF_TEST_P(MomentsFixture, Moments,
::testing::Combine(OCL_TYPICAL_MAT_SIZES,
-
OCL_PERF_ENUM(CV_8UC1, CV_16SC1, CV_16UC1, CV_32FC1), ::testing::Values(false, true
)))
+
OCL_PERF_ENUM(CV_8UC1, CV_16SC1, CV_16UC1, CV_32FC1), ::testing::Bool(
)))
{
const MomentsParamType params = GetParam();
const Size srcSize = get<0>(params);
@@
-86,5
+86,5
@@
PERF_TEST_P(MomentsFixture, Moments,
else
OCL_PERF_ELSE
cv::HuMoments(mom, dst);
- SANITY_CHECK(dst,
1e-3
);
+ SANITY_CHECK(dst,
2e-1
);
}