mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 19:50:38 +08:00
fixed
This commit is contained in:
parent
4d86804f11
commit
07a88d48e9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user