From 07a88d48e9bdb63bf5b3ddf677296bfcd16248e4 Mon Sep 17 00:00:00 2001 From: Elena Gvozdeva Date: Fri, 24 Jan 2014 11:41:23 +0400 Subject: [PATCH] fixed --- modules/imgproc/perf/opencl/perf_matchTemplate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/imgproc/perf/opencl/perf_matchTemplate.cpp b/modules/imgproc/perf/opencl/perf_matchTemplate.cpp index b28645c..9487747 100644 --- a/modules/imgproc/perf/opencl/perf_matchTemplate.cpp +++ b/modules/imgproc/perf/opencl/perf_matchTemplate.cpp @@ -43,8 +43,8 @@ namespace ocl { method == TM_CCORR_NORMED || method == TM_SQDIFF_NORMED || method == TM_CCOEFF_NORMED; - double eps = isNormed ? 1e-3 - : 255 * 255 * tmpl.total() * 1e-3; + double eps = isNormed ? 3e-2 + : 255 * 255 * tmpl.total() * 1e-4; if (isNormed) SANITY_CHECK(result,eps,ERROR_RELATIVE); -- 2.7.4