From e929dd4d98cc705a5434125b12322a491d431480 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Tue, 2 Sep 2014 20:24:49 +0400 Subject: [PATCH] GPU MatchTemplate32F test epsilon increased. --- modules/gpu/test/test_imgproc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gpu/test/test_imgproc.cpp b/modules/gpu/test/test_imgproc.cpp index 9ce32d12b8..2fde0d9d84 100644 --- a/modules/gpu/test/test_imgproc.cpp +++ b/modules/gpu/test/test_imgproc.cpp @@ -738,7 +738,7 @@ GPU_TEST_P(MatchTemplate32F, Regression) cv::Mat dst_gold; cv::matchTemplate(image, templ, dst_gold, method); - EXPECT_MAT_NEAR(dst_gold, dst, templ_size.area() * 1e-1); + EXPECT_MAT_NEAR(dst_gold, dst, templ_size.area() * 1.1e-1); } INSTANTIATE_TEST_CASE_P(GPU_ImgProc, MatchTemplate32F, testing::Combine(