|
|
@ -92,7 +92,7 @@ TEST_P(Filter2DTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -116,7 +116,7 @@ TEST_P(BoxFilterTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -142,7 +142,7 @@ TEST_P(SepFilterTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -163,7 +163,7 @@ TEST_P(BlurTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -185,7 +185,7 @@ TEST_P(GaussianBlurTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -204,7 +204,7 @@ TEST_P(MedianBlurTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -225,7 +225,7 @@ TEST_P(ErodeTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -246,7 +246,7 @@ TEST_P(Erode3x3Test, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -267,7 +267,7 @@ TEST_P(DilateTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -288,7 +288,7 @@ TEST_P(Dilate3x3Test, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -311,7 +311,7 @@ TEST_P(MorphologyExTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -330,7 +330,7 @@ TEST_P(SobelTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -362,8 +362,8 @@ TEST_P(SobelXYTest, AccuracyTest) |
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi2, out_mat_ocv2)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi2, out_mat_ocv2)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
EXPECT_EQ(out_mat_gapi2.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi2.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -383,7 +383,7 @@ TEST_P(LaplacianTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -402,7 +402,7 @@ TEST_P(BilateralFilterTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -421,7 +421,7 @@ TEST_P(EqHistTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -440,7 +440,7 @@ TEST_P(CannyTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -611,7 +611,7 @@ TEST_P(BGR2RGBTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -630,7 +630,7 @@ TEST_P(RGB2GrayTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -649,7 +649,7 @@ TEST_P(BGR2GrayTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -668,7 +668,7 @@ TEST_P(RGB2YUVTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -687,7 +687,7 @@ TEST_P(YUV2RGBTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -706,7 +706,7 @@ TEST_P(BGR2I420Test, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), Size(sz.width, sz.height * 3 / 2)); |
|
|
|
EXPECT_EQ(Size(sz.width, sz.height * 3 / 2), out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -725,7 +725,7 @@ TEST_P(RGB2I420Test, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), Size(sz.width, sz.height * 3 / 2)); |
|
|
|
EXPECT_EQ(Size(sz.width, sz.height * 3 / 2), out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -744,7 +744,7 @@ TEST_P(I4202BGRTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), Size(sz.width, sz.height * 2 / 3)); |
|
|
|
EXPECT_EQ(Size(sz.width, sz.height * 2 / 3), out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -763,7 +763,7 @@ TEST_P(I4202RGBTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), Size(sz.width, sz.height * 2 / 3)); |
|
|
|
EXPECT_EQ(Size(sz.width, sz.height * 2 / 3), out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -787,7 +787,7 @@ TEST_P(NV12toRGBTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -811,7 +811,7 @@ TEST_P(NV12toBGRTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -839,7 +839,7 @@ TEST_P(NV12toGrayTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -882,7 +882,7 @@ TEST_P(NV12toRGBpTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi_planar, out_mat_ocv_planar)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi_planar, out_mat_ocv_planar)); |
|
|
|
EXPECT_EQ(out_mat_gapi_planar.size(), sz_p); |
|
|
|
EXPECT_EQ(sz_p, out_mat_gapi_planar.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -912,7 +912,7 @@ TEST_P(NV12toBGRpTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi_planar, out_mat_ocv_planar)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi_planar, out_mat_ocv_planar)); |
|
|
|
EXPECT_EQ(out_mat_gapi_planar.size(), sz_p); |
|
|
|
EXPECT_EQ(sz_p, out_mat_gapi_planar.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -931,7 +931,7 @@ TEST_P(RGB2LabTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -950,7 +950,7 @@ TEST_P(BGR2LUVTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -969,7 +969,7 @@ TEST_P(LUV2BGRTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -988,7 +988,7 @@ TEST_P(BGR2YUVTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -1007,7 +1007,7 @@ TEST_P(YUV2BGRTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -1026,7 +1026,7 @@ TEST_P(RGB2HSVTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -1045,7 +1045,7 @@ TEST_P(BayerGR2RGBTest, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -1064,7 +1064,7 @@ TEST_P(RGB2YUV422Test, AccuracyTest) |
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
// Comparison //////////////////////////////////////////////////////////////
|
|
|
|
{ |
|
|
|
{ |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_TRUE(cmpF(out_mat_gapi, out_mat_ocv)); |
|
|
|
EXPECT_EQ(out_mat_gapi.size(), sz); |
|
|
|
EXPECT_EQ(sz, out_mat_gapi.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} // opencv_test
|
|
|
|
} // opencv_test
|
|
|
|