From: Elena Gvozdeva Date: Fri, 24 Jan 2014 07:41:23 +0000 (+0400) Subject: fixed X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~3532^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=07a88d48e9bdb63bf5b3ddf677296bfcd16248e4;p=platform%2Fupstream%2Fopencv.git fixed --- 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);