increase epsilon for AlphaComp sanity test for integer input(cherry picked from commit 9e69e2a07a)

pull/2570/head
Vladislav Vinogradov 11 years ago committed by Alexander Smorkalov
parent 25159d8e81
commit 2da7eae2c4
  1. 9
      modules/gpu/perf/perf_imgproc.cpp

@ -1563,7 +1563,14 @@ PERF_TEST_P(Sz_Type_Op, ImgProc_AlphaComp,
TEST_CYCLE() cv::gpu::alphaComp(d_img1, d_img2, dst, alpha_op);
GPU_SANITY_CHECK(dst, 1e-3, ERROR_RELATIVE);
if (CV_MAT_DEPTH(type) < CV_32F)
{
GPU_SANITY_CHECK(dst, 1);
}
else
{
GPU_SANITY_CHECK(dst, 1e-3, ERROR_RELATIVE);
}
}
else
{

Loading…
Cancel
Save