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:
7960547
)
raised the error threshold in moments-raster test (ticket #438)
author
Vadim Pisarevsky
<no@email>
Fri, 16 Jul 2010 22:54:29 +0000
(22:54 +0000)
committer
Vadim Pisarevsky
<no@email>
Fri, 16 Jul 2010 22:54:29 +0000
(22:54 +0000)
tests/cv/src/amoments.cpp
patch
|
blob
|
history
diff --git
a/tests/cv/src/amoments.cpp
b/tests/cv/src/amoments.cpp
index
562a49d
..
b2834c4
100644
(file)
--- a/
tests/cv/src/amoments.cpp
+++ b/
tests/cv/src/amoments.cpp
@@
-149,7
+149,7
@@
void CV_MomentsTest::get_timing_test_array_types_and_sizes( int test_case_idx,
double CV_MomentsTest::get_success_error_level( int /*test_case_idx*/, int /*i*/, int /*j*/ )
{
int depth = CV_MAT_DEPTH(test_mat[INPUT][0].type);
- return depth != CV_32F ? FLT_EPSILON : FLT_EPSILON*100;
+ return depth != CV_32F ? FLT_EPSILON
*10
: FLT_EPSILON*100;
}
@@
-311,7
+311,7
@@
void CV_MomentsTest::prepare_to_validation( int /*test_case_idx*/ )
}
-
//
CV_MomentsTest img_moments_test;
+CV_MomentsTest img_moments_test;
// Hu invariants