Commit 07a88d48 authored by Elena Gvozdeva's avatar Elena Gvozdeva

fixed

parent 4d86804f
...@@ -43,8 +43,8 @@ namespace ocl { ...@@ -43,8 +43,8 @@ namespace ocl {
method == TM_CCORR_NORMED || method == TM_CCORR_NORMED ||
method == TM_SQDIFF_NORMED || method == TM_SQDIFF_NORMED ||
method == TM_CCOEFF_NORMED; method == TM_CCOEFF_NORMED;
double eps = isNormed ? 1e-3 double eps = isNormed ? 3e-2
: 255 * 255 * tmpl.total() * 1e-3; : 255 * 255 * tmpl.total() * 1e-4;
if (isNormed) if (isNormed)
SANITY_CHECK(result,eps,ERROR_RELATIVE); SANITY_CHECK(result,eps,ERROR_RELATIVE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment