TEST_CYCLE() cv::gpu::cvtColor(d_src, dst, info.code, info.dcn);
- GPU_SANITY_CHECK(dst, 1e-4);
+ GPU_SANITY_CHECK(dst, 1e-2);
}
else
{
cv::gpu::GpuMat dst;
d_pyr.getLayer(dst, dstSize);
- GPU_SANITY_CHECK(dst);
+ GPU_SANITY_CHECK(dst, 1e-3);
}
else
{
TEST_CYCLE() d_pyr.getLayer(dst, dstSize);
- GPU_SANITY_CHECK(dst);
+ GPU_SANITY_CHECK(dst, 1e-3);
}
else
{
TEST_CYCLE() cv::gpu::createOpticalFlowNeedleMap(u, v, vertex, colors);
- GPU_SANITY_CHECK(vertex, 1e-6);
+ GPU_SANITY_CHECK(vertex, 1e-5);
GPU_SANITY_CHECK(colors);
}
else
cv::resize(bgr_gold, bgr_gold, cv::Size(256, 256));
cv::resize(gray_gold, gray_gold, cv::Size(256, 256));
- EXPECT_MAT_NEAR(bgr_gold, dbgr, 1e-4);
- EXPECT_MAT_NEAR(gray_gold, dgray, 1e-4);
+ EXPECT_MAT_NEAR(bgr_gold, dbgr, 1);
+ EXPECT_MAT_NEAR(gray_gold, dgray, 1);
}
INSTANTIATE_TEST_CASE_P(GPU_Denoising, BruteForceNonLocalMeans, ALL_DEVICES);