Commit 8c2c3b54 authored by Elena Gvozdeva's avatar Elena Gvozdeva

fixed ocl tests for BlendLinear, BoxFilter, Integral

parent a05ce00a
......@@ -117,7 +117,7 @@ OCL_TEST_P(BlendLinear, Accuracy)
OCL_OFF(cv::blendLinear(src1_roi, src2_roi, weights1_roi, weights2_roi, dst_roi));
OCL_ON(cv::blendLinear(usrc1_roi, usrc2_roi, uweights1_roi, uweights2_roi, udst_roi));
Near(depth <= CV_32S ? 1.0 : 0.2);
Near(depth <= CV_32S ? 1.0 : 0.5);
}
}
......
......@@ -109,7 +109,7 @@ OCL_TEST_P(BoxFilter, Mat)
OCL_OFF(cv::boxFilter(src_roi, dst_roi, -1, ksize, anchor, normalize, borderType));
OCL_ON(cv::boxFilter(usrc_roi, udst_roi, -1, ksize, anchor, normalize, borderType));
Near(depth <= CV_32S ? 1 : 1e-3);
Near(depth <= CV_32S ? 1 : 3e-3);
}
}
......
......@@ -347,7 +347,7 @@ OCL_TEST_P(Integral, Mat2)
OCL_ON(cv::integral(usrc_roi, udst_roi, udst2_roi, sdepth, sqdepth));
Near();
sqdepth == CV_32F ? Near2(1e-6, true) : Near2();
sqdepth == CV_32F ? Near2(2e-4, true) : Near2();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment