mirror of
https://github.com/opencv/opencv.git
synced 2025-01-13 00:01:27 +08:00
Revert "disable gpu CvtColor.*2HSV tests:"
This reverts commit952027a853
. (cherry picked from commitb6ba1f226c
)
This commit is contained in:
parent
48612d7c58
commit
8bb26fa5de
@ -840,7 +840,7 @@ GPU_TEST_P(CvtColor, YCrCb42RGBA)
|
|||||||
EXPECT_MAT_NEAR(dst_gold, dst, 1e-5);
|
EXPECT_MAT_NEAR(dst_gold, dst, 1e-5);
|
||||||
}
|
}
|
||||||
|
|
||||||
GPU_TEST_P(CvtColor, DISABLED_BGR2HSV)
|
GPU_TEST_P(CvtColor, BGR2HSV)
|
||||||
{
|
{
|
||||||
if (depth == CV_16U)
|
if (depth == CV_16U)
|
||||||
return;
|
return;
|
||||||
@ -856,7 +856,7 @@ GPU_TEST_P(CvtColor, DISABLED_BGR2HSV)
|
|||||||
EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1);
|
EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
GPU_TEST_P(CvtColor, DISABLED_RGB2HSV)
|
GPU_TEST_P(CvtColor, RGB2HSV)
|
||||||
{
|
{
|
||||||
if (depth == CV_16U)
|
if (depth == CV_16U)
|
||||||
return;
|
return;
|
||||||
@ -872,7 +872,7 @@ GPU_TEST_P(CvtColor, DISABLED_RGB2HSV)
|
|||||||
EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1);
|
EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
GPU_TEST_P(CvtColor, DISABLED_RGB2HSV4)
|
GPU_TEST_P(CvtColor, RGB2HSV4)
|
||||||
{
|
{
|
||||||
if (depth == CV_16U)
|
if (depth == CV_16U)
|
||||||
return;
|
return;
|
||||||
@ -896,7 +896,7 @@ GPU_TEST_P(CvtColor, DISABLED_RGB2HSV4)
|
|||||||
EXPECT_MAT_NEAR(dst_gold, h_dst, depth == CV_32F ? 1e-2 : 1);
|
EXPECT_MAT_NEAR(dst_gold, h_dst, depth == CV_32F ? 1e-2 : 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
GPU_TEST_P(CvtColor, DISABLED_RGBA2HSV4)
|
GPU_TEST_P(CvtColor, RGBA2HSV4)
|
||||||
{
|
{
|
||||||
if (depth == CV_16U)
|
if (depth == CV_16U)
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user