mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 19:50:38 +08:00
Merge pull request #2662 from vbystricky:ipp_MatchTempl
This commit is contained in:
commit
6b2c621d20
@ -77,7 +77,7 @@ PERF_TEST_P(ImgSize_TmplSize_Method, matchTemplateBig,
|
||||
method == TM_SQDIFF_NORMED ||
|
||||
method == TM_CCOEFF_NORMED;
|
||||
double eps = isNormed ? 1e-6
|
||||
: 255 * 255 * tmpl.total() * 1e-6;
|
||||
: 255.0 * 255.0 * (double)tmpl.total() * 1e-6;
|
||||
|
||||
SANITY_CHECK(result, eps);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user