This commit is contained in:
Elena Gvozdeva
2014-04-15 11:35:30 +04:00
parent 8176e893c0
commit 3553e9379b
2 changed files with 5 additions and 6 deletions

View File

@@ -42,7 +42,7 @@ PERF_TEST_P(ImgSize_TmplSize_Method, matchTemplateSmall,
method == TM_CCORR_NORMED ||
method == TM_SQDIFF_NORMED ||
method == TM_CCOEFF_NORMED;
double eps = isNormed ? 1e-6
double eps = isNormed ? 1e-5
: 255 * 255 * tmpl.total() * 1e-6;
SANITY_CHECK(result, eps);