Merge pull request #2332 from jet47:gpu-fixes
This commit is contained in:
commit
b4a535272c
@ -93,7 +93,7 @@ PERF_TEST_P(ImagePair, Calib3D_StereoBM,
|
|||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
// StereoBeliefPropagation
|
// StereoBeliefPropagation
|
||||||
|
|
||||||
PERF_TEST_P(ImagePair, Calib3D_StereoBeliefPropagation,
|
PERF_TEST_P(ImagePair, DISABLED_Calib3D_StereoBeliefPropagation,
|
||||||
Values(pair_string("gpu/stereobp/aloe-L.png", "gpu/stereobp/aloe-R.png")))
|
Values(pair_string("gpu/stereobp/aloe-L.png", "gpu/stereobp/aloe-R.png")))
|
||||||
{
|
{
|
||||||
declare.time(300.0);
|
declare.time(300.0);
|
||||||
|
@ -1563,7 +1563,14 @@ PERF_TEST_P(Sz_Type_Op, ImgProc_AlphaComp,
|
|||||||
|
|
||||||
TEST_CYCLE() cv::gpu::alphaComp(d_img1, d_img2, dst, alpha_op);
|
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
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user