Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
719912e4
Commit
719912e4
authored
Jun 26, 2019
by
Andrey Golubev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Align imgproc tests to new model
parent
75c567b6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
30 deletions
+38
-30
gapi_imgproc_tests.hpp
modules/gapi/test/common/gapi_imgproc_tests.hpp
+38
-30
gapi_imgproc_tests_inl.hpp
modules/gapi/test/common/gapi_imgproc_tests_inl.hpp
+0
-0
gapi_imgproc_tests_cpu.cpp
modules/gapi/test/cpu/gapi_imgproc_tests_cpu.cpp
+0
-0
gapi_imgproc_tests_fluid.cpp
modules/gapi/test/cpu/gapi_imgproc_tests_fluid.cpp
+0
-0
gapi_imgproc_tests_gpu.cpp
modules/gapi/test/gpu/gapi_imgproc_tests_gpu.cpp
+0
-0
No files found.
modules/gapi/test/common/gapi_imgproc_tests.hpp
View file @
719912e4
...
...
@@ -2,7 +2,7 @@
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
//
// Copyright (C) 2018 Intel Corporation
// Copyright (C) 2018
-2019
Intel Corporation
#ifndef OPENCV_GAPI_IMGPROC_TESTS_HPP
...
...
@@ -14,35 +14,43 @@
namespace
opencv_test
{
struct
Filter2DTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
MatType
,
int
,
cv
::
Size
,
int
,
int
,
bool
,
cv
::
GCompileArgs
>>
{};
struct
BoxFilterTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
MatType
,
int
,
cv
::
Size
,
int
,
int
,
bool
,
cv
::
GCompileArgs
>>
{};
struct
SepFilterTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
MatType
,
int
,
cv
::
Size
,
int
,
bool
,
cv
::
GCompileArgs
>>
{};
struct
BlurTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
MatType
,
int
,
cv
::
Size
,
int
,
bool
,
cv
::
GCompileArgs
>>
{};
struct
GaussianBlurTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
MatType
,
int
,
cv
::
Size
,
bool
,
cv
::
GCompileArgs
>>
{};
struct
MedianBlurTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
MatType
,
int
,
cv
::
Size
,
bool
,
cv
::
GCompileArgs
>>
{};
struct
ErodeTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
MatType
,
int
,
cv
::
Size
,
int
,
bool
,
cv
::
GCompileArgs
>>
{};
struct
Erode3x3Test
:
public
TestParams
<
std
::
tuple
<
compare_f
,
MatType
,
cv
::
Size
,
bool
,
int
,
cv
::
GCompileArgs
>>
{};
struct
DilateTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
MatType
,
int
,
cv
::
Size
,
int
,
bool
,
cv
::
GCompileArgs
>>
{};
struct
Dilate3x3Test
:
public
TestParams
<
std
::
tuple
<
compare_f
,
MatType
,
cv
::
Size
,
bool
,
int
,
cv
::
GCompileArgs
>>
{};
struct
SobelTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
MatType
,
int
,
cv
::
Size
,
int
,
int
,
int
,
bool
,
cv
::
GCompileArgs
>>
{};
struct
SobelXYTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
MatType
,
int
,
cv
::
Size
,
int
,
int
,
int
,
int
,
cv
::
GCompileArgs
>>
{};
struct
EqHistTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
cv
::
Size
,
bool
,
cv
::
GCompileArgs
>>
{};
struct
CannyTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
MatType
,
cv
::
Size
,
double
,
double
,
int
,
bool
,
bool
,
cv
::
GCompileArgs
>>
{};
struct
RGB2GrayTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
cv
::
Size
,
bool
,
cv
::
GCompileArgs
>>
{};
struct
BGR2GrayTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
cv
::
Size
,
bool
,
cv
::
GCompileArgs
>>
{};
struct
RGB2YUVTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
cv
::
Size
,
bool
,
cv
::
GCompileArgs
>>
{};
struct
YUV2RGBTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
cv
::
Size
,
bool
,
cv
::
GCompileArgs
>>
{};
struct
NV12toRGBTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
cv
::
Size
,
cv
::
GCompileArgs
>>
{};
struct
NV12toBGRTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
cv
::
Size
,
cv
::
GCompileArgs
>>
{};
struct
RGB2LabTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
cv
::
Size
,
bool
,
cv
::
GCompileArgs
>>
{};
struct
BGR2LUVTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
cv
::
Size
,
bool
,
cv
::
GCompileArgs
>>
{};
struct
LUV2BGRTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
cv
::
Size
,
bool
,
cv
::
GCompileArgs
>>
{};
struct
BGR2YUVTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
cv
::
Size
,
bool
,
cv
::
GCompileArgs
>>
{};
struct
YUV2BGRTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
cv
::
Size
,
bool
,
cv
::
GCompileArgs
>>
{};
struct
RGB2HSVTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
cv
::
Size
,
bool
,
cv
::
GCompileArgs
>>
{};
struct
BayerGR2RGBTest
:
public
TestParams
<
std
::
tuple
<
compare_f
,
cv
::
Size
,
bool
,
cv
::
GCompileArgs
>>
{};
struct
RGB2YUV422Test
:
public
TestParams
<
std
::
tuple
<
compare_f
,
cv
::
Size
,
bool
,
cv
::
GCompileArgs
>>
{};
GAPI_TEST_FIXTURE
(
Filter2DTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
,
int
,
int
),
3
,
cmpF
,
kernSize
,
borderType
)
GAPI_TEST_FIXTURE
(
BoxFilterTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
,
int
,
int
),
3
,
cmpF
,
filterSize
,
borderType
)
GAPI_TEST_FIXTURE
(
SepFilterTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
,
int
),
2
,
cmpF
,
kernSize
)
GAPI_TEST_FIXTURE
(
BlurTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
,
int
,
int
),
3
,
cmpF
,
filterSize
,
borderType
)
GAPI_TEST_FIXTURE
(
GaussianBlurTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
,
int
),
2
,
cmpF
,
kernSize
)
GAPI_TEST_FIXTURE
(
MedianBlurTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
,
int
),
2
,
cmpF
,
kernSize
)
GAPI_TEST_FIXTURE
(
ErodeTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
,
int
,
int
),
3
,
cmpF
,
kernSize
,
kernType
)
GAPI_TEST_FIXTURE
(
Erode3x3Test
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
,
int
),
2
,
cmpF
,
numIters
)
GAPI_TEST_FIXTURE
(
DilateTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
,
int
,
int
),
3
,
cmpF
,
kernSize
,
kernType
)
GAPI_TEST_FIXTURE
(
Dilate3x3Test
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
,
int
),
2
,
cmpF
,
numIters
)
GAPI_TEST_FIXTURE
(
SobelTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
,
int
,
int
,
int
),
4
,
cmpF
,
kernSize
,
dx
,
dy
)
GAPI_TEST_FIXTURE
(
SobelXYTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
,
int
,
int
,
int
,
int
),
5
,
cmpF
,
kernSize
,
order
,
border_type
,
border_val
)
GAPI_TEST_FIXTURE
(
EqHistTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
),
1
,
cmpF
)
GAPI_TEST_FIXTURE
(
CannyTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
,
double
,
double
,
int
,
bool
),
5
,
cmpF
,
thrLow
,
thrUp
,
apSize
,
l2gr
)
GAPI_TEST_FIXTURE
(
RGB2GrayTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
),
1
,
cmpF
)
GAPI_TEST_FIXTURE
(
BGR2GrayTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
),
1
,
cmpF
)
GAPI_TEST_FIXTURE
(
RGB2YUVTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
),
1
,
cmpF
)
GAPI_TEST_FIXTURE
(
YUV2RGBTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
),
1
,
cmpF
)
GAPI_TEST_FIXTURE
(
NV12toRGBTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
),
1
,
cmpF
)
GAPI_TEST_FIXTURE
(
NV12toBGRTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
),
1
,
cmpF
)
GAPI_TEST_FIXTURE
(
RGB2LabTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
),
1
,
cmpF
)
GAPI_TEST_FIXTURE
(
BGR2LUVTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
),
1
,
cmpF
)
GAPI_TEST_FIXTURE
(
LUV2BGRTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
),
1
,
cmpF
)
GAPI_TEST_FIXTURE
(
BGR2YUVTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
),
1
,
cmpF
)
GAPI_TEST_FIXTURE
(
YUV2BGRTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
),
1
,
cmpF
)
GAPI_TEST_FIXTURE
(
RGB2HSVTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
),
1
,
cmpF
)
GAPI_TEST_FIXTURE
(
BayerGR2RGBTest
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
),
1
,
cmpF
)
GAPI_TEST_FIXTURE
(
RGB2YUV422Test
,
initMatrixRandN
,
FIXTURE_API
(
compare_f
),
1
,
cmpF
)
}
// opencv_test
#endif //OPENCV_GAPI_IMGPROC_TESTS_HPP
modules/gapi/test/common/gapi_imgproc_tests_inl.hpp
View file @
719912e4
This diff is collapsed.
Click to expand it.
modules/gapi/test/cpu/gapi_imgproc_tests_cpu.cpp
View file @
719912e4
This diff is collapsed.
Click to expand it.
modules/gapi/test/cpu/gapi_imgproc_tests_fluid.cpp
View file @
719912e4
This diff is collapsed.
Click to expand it.
modules/gapi/test/gpu/gapi_imgproc_tests_gpu.cpp
View file @
719912e4
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment