Repository: opencv
Issue: CUDA failing tests
Labels: bug,test,priority: low,category: gpu/cuda (contrib)

##### System information (version)
- OpenCV => 4.0.0-pre
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2013 (Most likely independent from the compiler)
- WITH_CUDA

##### Detailed description
Several errors are related to threshold settings, while others are related to recent color conversion changes, and other stuff..

##### The following are already fixed:
- `cuda::meanShiftSegmentation`
- `cuda::polarToCart`
- `CvtColor.Luv_to_*`
- `StereoBeliefPropagation`
- `cuda::BackgroundSubtractorMOG2`

##### Details of currently failing tests
<details>
<summary>cudaimgproc --gtest_filter=CUDA_ImgProc/MeanShift.Filtering/*</summary>
<br />

```
Note: Google Test filter = CUDA_ImgProc/MeanShift.Filtering/*
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from CUDA_ImgProc/MeanShift
[ RUN      ] CUDA_ImgProc/MeanShift.Filtering/0, where GetParam() = GeForce GTX 1080
F:\opencv_contrib\modules\cudaimgproc\test\test_mean_shift.cpp(94): error: The max difference between matrices "img_template" and "result" is 14 at (246, 382), which exceeds "0.0", where "img_template" at (246, 382) evaluates to (91, 134, 103), "result" at (246, 382) evaluates to (79, 120, 98), "0.0" evaluates to 0
[  FAILED  ] CUDA_ImgProc/MeanShift.Filtering/0, where GetParam() = GeForce GTX 1080 (1080 ms)
[ RUN      ] CUDA_ImgProc/MeanShift.Filtering/1, where GetParam() = GeForce GTX 1080
F:\opencv_contrib\modules\cudaimgproc\test\test_mean_shift.cpp(94): error: The max difference between matrices "img_template" and "result" is 14 at (246, 382), which exceeds "0.0", where "img_template" at (246, 382) evaluates to (91, 134, 103), "result" at (246, 382) evaluates to (79, 120, 98), "0.0" evaluates to 0
[  FAILED  ] CUDA_ImgProc/MeanShift.Filtering/1, where GetParam() = GeForce GTX 1080 (927 ms)
[----------] 2 tests from CUDA_ImgProc/MeanShift (2016 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (2026 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 2 tests, listed below:
[  FAILED  ] CUDA_ImgProc/MeanShift.Filtering/0, where GetParam() = GeForce GTX 1080
[  FAILED  ] CUDA_ImgProc/MeanShift.Filtering/1, where GetParam() = GeForce GTX 1080

 2 FAILED TESTS
```
</details>

<details>
<summary>cudaimgproc --gtest_filter=CUDA_ImgProc/MeanShift.Proc/*</summary>
<br />

```
Note: Google Test filter = CUDA_ImgProc/MeanShift.Proc/*
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from CUDA_ImgProc/MeanShift
[ RUN      ] CUDA_ImgProc/MeanShift.Proc/0, where GetParam() = GeForce GTX 1080
F:\opencv_contrib\modules\cudaimgproc\test\test_mean_shift.cpp(120): error: The max difference between matrices "spmap_template" and "spmap" is 14 at (246, 382), which exceeds "0.0", where "spmap_template" at (246, 382) evaluates to (409, 245), "spmap" at (246, 382) evaluates to (395, 246), "0.0" evaluates to 0
[  FAILED  ] CUDA_ImgProc/MeanShift.Proc/0, where GetParam() = GeForce GTX 1080 (1064 ms)
[ RUN      ] CUDA_ImgProc/MeanShift.Proc/1, where GetParam() = GeForce GTX 1080
F:\opencv_contrib\modules\cudaimgproc\test\test_mean_shift.cpp(120): error: The max difference between matrices "spmap_template" and "spmap" is 14 at (246, 382), which exceeds "0.0", where "spmap_template" at (246, 382) evaluates to (409, 245), "spmap" at (246, 382) evaluates to (395, 246), "0.0" evaluates to 0
[  FAILED  ] CUDA_ImgProc/MeanShift.Proc/1, where GetParam() = GeForce GTX 1080 (886 ms)
[----------] 2 tests from CUDA_ImgProc/MeanShift (1959 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (1965 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 2 tests, listed below:
[  FAILED  ] CUDA_ImgProc/MeanShift.Proc/0, where GetParam() = GeForce GTX 1080
[  FAILED  ] CUDA_ImgProc/MeanShift.Proc/1, where GetParam() = GeForce GTX 1080

 2 FAILED TESTS
```
</details>

<details>
<summary>cudaimgproc --gtest_filter=CUDA_ImgProc/Canny.Async/*</summary>
<br />

```
Note: Google Test filter = CUDA_ImgProc/Canny.Async/12
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from CUDA_ImgProc/Canny
[ RUN      ] CUDA_ImgProc/Canny.Async/12, where GetParam() = (GeForce GTX 1080, AppertureSize(3), L2gradient(false), whole matrix)
unknown file: error: C++ exception with description "OpenCV(4.0.0-pre) F:/opencv_contrib/modules/cudaimgproc/src/cuda/canny.cu:201: error: (-217:Gpu API call) an illegal memory access was encountered in function 'canny::calcMagnitude'
" thrown in the test body.
[  FAILED  ] CUDA_ImgProc/Canny.Async/12, where GetParam() = (GeForce GTX 1080, AppertureSize(3), L2gradient(false), whole matrix) (17393 ms)
[----------] 1 test from CUDA_ImgProc/Canny (17415 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (17439 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] CUDA_ImgProc/Canny.Async/12, where GetParam() = (GeForce GTX 1080, AppertureSize(3), L2gradient(false), whole matrix)

 1 FAILED TEST
```
</details>

<details>
<summary>cudaimgproc --gtest_filter=CUDA_ImgProc/CvtColor.BGR2GRAY/*</summary>
<br />

```
Note: Google Test filter = CUDA_ImgProc/CvtColor.BGR2GRAY/*
[==========] Running 24 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 24 tests from CUDA_ImgProc/CvtColor
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/0, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(165): error: The max difference between matrices "dst_gold" and "dst" is 1 at (5, 81), which exceeds "1e-5", where "dst_gold" at (5, 81) evaluates to (45), "dst" at (5, 81) evaluates to (46), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2GRAY/0, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix) (956 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/1, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(165): error: The max difference between matrices "dst_gold" and "dst" is 1 at (6, 6), which exceeds "1e-5", where "dst_gold" at (6, 6) evaluates to (107), "dst" at (6, 6) evaluates to (108), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2GRAY/1, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/2, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2GRAY/2 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/3, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2GRAY/3 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2GRAY/4 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2GRAY/5 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/6, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(165): error: The max difference between matrices "dst_gold" and "dst" is 1 at (2, 36), which exceeds "1e-5", where "dst_gold" at (2, 36) evaluates to (127), "dst" at (2, 36) evaluates to (126), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2GRAY/6, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/7, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(165): error: The max difference between matrices "dst_gold" and "dst" is 1 at (0, 11), which exceeds "1e-5", where "dst_gold" at (0, 11) evaluates to (166), "dst" at (0, 11) evaluates to (165), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2GRAY/7, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/8, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2GRAY/8 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/9, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2GRAY/9 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2GRAY/10 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2GRAY/11 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/12, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(165): error: The max difference between matrices "dst_gold" and "dst" is 1 at (3, 10), which exceeds "1e-5", where "dst_gold" at (3, 10) evaluates to (103), "dst" at (3, 10) evaluates to (102), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2GRAY/12, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix) (870 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/13, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(165): error: The max difference between matrices "dst_gold" and "dst" is 1 at (0, 31), which exceeds "1e-5", where "dst_gold" at (0, 31) evaluates to (155), "dst" at (0, 31) evaluates to (154), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2GRAY/13, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/14, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2GRAY/14 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/15, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2GRAY/15 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2GRAY/16 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2GRAY/17 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/18, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(165): error: The max difference between matrices "dst_gold" and "dst" is 1 at (1, 100), which exceeds "1e-5", where "dst_gold" at (1, 100) evaluates to (181), "dst" at (1, 100) evaluates to (180), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2GRAY/18, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix) (11 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/19, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(165): error: The max difference between matrices "dst_gold" and "dst" is 1 at (0, 14), which exceeds "1e-5", where "dst_gold" at (0, 14) evaluates to (136), "dst" at (0, 14) evaluates to (135), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2GRAY/19, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix) (5 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/20, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2GRAY/20 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/21, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2GRAY/21 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2GRAY/22 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2GRAY/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2GRAY/23 (3 ms)
[----------] 24 tests from CUDA_ImgProc/CvtColor (2011 ms total)

[----------] Global test environment tear-down
[==========] 24 tests from 1 test case ran. (2031 ms total)
[  PASSED  ] 16 tests.
[  FAILED  ] 8 tests, listed below:
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2GRAY/0, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2GRAY/1, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2GRAY/6, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2GRAY/7, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2GRAY/12, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2GRAY/13, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2GRAY/18, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2GRAY/19, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)

 8 FAILED TESTS
```
</details>

<details>
<summary>cudaimgproc --gtest_filter=CUDA_ImgProc/CvtColor.BGR2Lab/*</summary>
<br />

```
Note: Google Test filter = CUDA_ImgProc/CvtColor.BGR2Lab/*
[==========] Running 24 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 24 tests from CUDA_ImgProc/CvtColor
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/0, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2Lab/0 (1178 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/1, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2Lab/1 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/2, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2Lab/2 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/3, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2Lab/3 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1628): error: The max difference between matrices "dst_gold" and "dst" is 0.549148 at (65, 37), which exceeds "depth == 0 ? 1 : 1e-3", where "dst_gold" at (65, 37) evaluates to (9.24683, -11.7813, 9.39063), "dst" at (65, 37) evaluates to (9.41736, -12.3304, 9.68835), "depth == 0 ? 1 : 1e-3" evaluates to 0.001
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2Lab/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1628): error: The max difference between matrices "dst_gold" and "dst" is 0.421126 at (3, 25), which exceeds "depth == 0 ? 1 : 1e-3", where "dst_gold" at (3, 25) evaluates to (9.57031, -6.51563, 5.53125), "dst" at (3, 25) evaluates to (9.70393, -6.93675, 5.66072), "depth == 0 ? 1 : 1e-3" evaluates to 0.001
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2Lab/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/6, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2Lab/6 (1 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/7, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2Lab/7 (7 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/8, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2Lab/8 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/9, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2Lab/9 (1 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1628): error: The max difference between matrices "dst_gold" and "dst" is 0.417459 at (59, 61), which exceeds "depth == 0 ? 1 : 1e-3", where "dst_gold" at (59, 61) evaluates to (6.90918, 14.3594, -12.4531), "dst" at (59, 61) evaluates to (6.90817, 14.7768, -12.7167), "depth == 0 ? 1 : 1e-3" evaluates to 0.001
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2Lab/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix) (13 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1628): error: The max difference between matrices "dst_gold" and "dst" is 0.446589 at (62, 42), which exceeds "depth == 0 ? 1 : 1e-3", where "dst_gold" at (62, 42) evaluates to (6.14014, 8.42188, 4.70313), "dst" at (62, 42) evaluates to (6.14831, 8.86846, 4.72926), "depth == 0 ? 1 : 1e-3" evaluates to 0.001
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2Lab/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix) (14 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/12, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2Lab/12 (802 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/13, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2Lab/13 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/14, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2Lab/14 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/15, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2Lab/15 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1628): error: The max difference between matrices "dst_gold" and "dst" is 0.412675 at (43, 117), which exceeds "depth == 0 ? 1 : 1e-3", where "dst_gold" at (43, 117) evaluates to (10.6201, -5.3125, -1.71875), "dst" at (43, 117) evaluates to (10.7797, -5.72517, -1.49808), "depth == 0 ? 1 : 1e-3" evaluates to 0.001
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2Lab/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1628): error: The max difference between matrices "dst_gold" and "dst" is 0.43129 at (114, 6), which exceeds "depth == 0 ? 1 : 1e-3", where "dst_gold" at (114, 6) evaluates to (5.63965, 21.4219, 6.625), "dst" at (114, 6) evaluates to (5.69825, 21.8532, 6.55611), "depth == 0 ? 1 : 1e-3" evaluates to 0.001
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2Lab/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix) (5 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/18, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2Lab/18 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/19, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2Lab/19 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/20, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2Lab/20 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/21, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGR2Lab/21 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1628): error: The max difference between matrices "dst_gold" and "dst" is 0.432425 at (85, 77), which exceeds "depth == 0 ? 1 : 1e-3", where "dst_gold" at (85, 77) evaluates to (13.0371, -12.3125, 8.39063), "dst" at (85, 77) evaluates to (13.2111, -12.7449, 8.68957), "depth == 0 ? 1 : 1e-3" evaluates to 0.001
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2Lab/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix) (6 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGR2Lab/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1628): error: The max difference between matrices "dst_gold" and "dst" is 0.45595 at (35, 86), which exceeds "depth == 0 ? 1 : 1e-3", where "dst_gold" at (35, 86) evaluates to (10.4797, -15.1719, 10.2031), "dst" at (35, 86) evaluates to (10.7019, -15.5761, 10.6591), "depth == 0 ? 1 : 1e-3" evaluates to 0.001
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2Lab/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix) (3 ms)
[----------] 24 tests from CUDA_ImgProc/CvtColor (2148 ms total)

[----------] Global test environment tear-down
[==========] 24 tests from 1 test case ran. (2169 ms total)
[  PASSED  ] 16 tests.
[  FAILED  ] 8 tests, listed below:
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2Lab/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2Lab/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2Lab/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2Lab/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2Lab/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2Lab/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2Lab/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.BGR2Lab/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)

 8 FAILED TESTS
```
</details>

<details>
<summary>cudaimgproc --gtest_filter=CUDA_ImgProc/CvtColor.BGRA2Lab4/*</summary>
<br />

```
Note: Google Test filter = CUDA_ImgProc/CvtColor.BGRA2Lab4/*
[==========] Running 24 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 24 tests from CUDA_ImgProc/CvtColor
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/0, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGRA2Lab4/0 (1250 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/1, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGRA2Lab4/1 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/2, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGRA2Lab4/2 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/3, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGRA2Lab4/3 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1669): error: The max difference between matrices "dst_gold" and "h_dst" is 0.539009 at (65, 37), which exceeds "depth == 0 ? 1 : 1e-3", where "dst_gold" at (65, 37) evaluates to (9.14917, -12.1719, 8.09375), "h_dst" at (65, 37) evaluates to (9.32361, -12.7109, 8.42758), "depth == 0 ? 1 : 1e-3" evaluates to 0.001
[  FAILED  ] CUDA_ImgProc/CvtColor.BGRA2Lab4/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1669): error: The max difference between matrices "dst_gold" and "h_dst" is 0.424875 at (95, 104), which exceeds "depth == 0 ? 1 : 1e-3", where "dst_gold" at (95, 104) evaluates to (10.0159, -8.125, 4.5), "h_dst" at (95, 104) evaluates to (10.2047, -8.49723, 4.92488), "depth == 0 ? 1 : 1e-3" evaluates to 0.001
[  FAILED  ] CUDA_ImgProc/CvtColor.BGRA2Lab4/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/6, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGRA2Lab4/6 (11 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/7, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGRA2Lab4/7 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/8, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGRA2Lab4/8 (1 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/9, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGRA2Lab4/9 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1669): error: The max difference between matrices "dst_gold" and "h_dst" is 0.466402 at (59, 61), which exceeds "depth == 0 ? 1 : 1e-3", where "dst_gold" at (59, 61) evaluates to (7.55005, 15.375, -6.85938), "h_dst" at (59, 61) evaluates to (7.53144, 15.8414, -7.16155), "depth == 0 ? 1 : 1e-3" evaluates to 0.001
[  FAILED  ] CUDA_ImgProc/CvtColor.BGRA2Lab4/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix) (7 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1669): error: The max difference between matrices "dst_gold" and "h_dst" is 0.513504 at (68, 42), which exceeds "depth == 0 ? 1 : 1e-3", where "dst_gold" at (68, 42) evaluates to (8.5083, -10.1406, 10.2656), "h_dst" at (68, 42) evaluates to (8.64621, -10.6541, 10.4561), "depth == 0 ? 1 : 1e-3" evaluates to 0.001
[  FAILED  ] CUDA_ImgProc/CvtColor.BGRA2Lab4/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/12, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGRA2Lab4/12 (877 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/13, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGRA2Lab4/13 (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/14, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGRA2Lab4/14 (1 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/15, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGRA2Lab4/15 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1669): error: The max difference between matrices "dst_gold" and "h_dst" is 0.440076 at (11, 16), which exceeds "depth == 0 ? 1 : 1e-3", where "dst_gold" at (11, 16) evaluates to (5.66406, 7.73438, -11.4375), "h_dst" at (11, 16) evaluates to (5.63392, 7.8678, -11.8776), "depth == 0 ? 1 : 1e-3" evaluates to 0.001
[  FAILED  ] CUDA_ImgProc/CvtColor.BGRA2Lab4/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1669): error: The max difference between matrices "dst_gold" and "h_dst" is 0.414804 at (17, 97), which exceeds "depth == 0 ? 1 : 1e-3", where "dst_gold" at (17, 97) evaluates to (7.89795, 16.3438, 9.71875), "h_dst" at (17, 97) evaluates to (7.93877, 16.7586, 9.71248), "depth == 0 ? 1 : 1e-3" evaluates to 0.001
[  FAILED  ] CUDA_ImgProc/CvtColor.BGRA2Lab4/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/18, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGRA2Lab4/18 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/19, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGRA2Lab4/19 (1 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/20, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGRA2Lab4/20 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/21, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.BGRA2Lab4/21 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1669): error: The max difference between matrices "dst_gold" and "h_dst" is 0.508063 at (95, 46), which exceeds "depth == 0 ? 1 : 1e-3", where "dst_gold" at (95, 46) evaluates to (6.51245, 11.6094, 7.51563), "h_dst" at (95, 46) evaluates to (6.47419, 12.1174, 7.45142), "depth == 0 ? 1 : 1e-3" evaluates to 0.001
[  FAILED  ] CUDA_ImgProc/CvtColor.BGRA2Lab4/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.BGRA2Lab4/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1669): error: The max difference between matrices "dst_gold" and "h_dst" is 0.496662 at (84, 77), which exceeds "depth == 0 ? 1 : 1e-3", where "dst_gold" at (84, 77) evaluates to (9.10645, -8.14063, 9.25), "h_dst" at (84, 77) evaluates to (9.18162, -8.63729, 9.38914), "depth == 0 ? 1 : 1e-3" evaluates to 0.001
[  FAILED  ] CUDA_ImgProc/CvtColor.BGRA2Lab4/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix) (3 ms)
[----------] 24 tests from CUDA_ImgProc/CvtColor (2318 ms total)

[----------] Global test environment tear-down
[==========] 24 tests from 1 test case ran. (2325 ms total)
[  PASSED  ] 16 tests.
[  FAILED  ] 8 tests, listed below:
[  FAILED  ] CUDA_ImgProc/CvtColor.BGRA2Lab4/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.BGRA2Lab4/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.BGRA2Lab4/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.BGRA2Lab4/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.BGRA2Lab4/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.BGRA2Lab4/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.BGRA2Lab4/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.BGRA2Lab4/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)

 8 FAILED TESTS
```
</details>

<details>
<summary>cudaimgproc --gtest_filter=CUDA_ImgProc/CvtColor.Lab2BGR/*</summary>
<br />

```
Note: Google Test filter = CUDA_ImgProc/CvtColor.Lab2BGR/*
[==========] Running 24 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 24 tests from CUDA_ImgProc/CvtColor
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/0, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGR/0 (1155 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/1, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGR/1 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/2, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGR/2 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/3, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGR/3 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1743): error: The max difference between matrices "dst_gold" and "dst" is 0.000969685 at (32, 109), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (32, 109) evaluates to (0.0536261, 0.978481, 0), "dst" at (32, 109) evaluates to (0.0536264, 0.978481, -0.000969685), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGR/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1743): error: The max difference between matrices "dst_gold" and "dst" is 0.000589545 at (57, 69), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (57, 69) evaluates to (0.896404, 0, 0.982517), "dst" at (57, 69) evaluates to (0.896404, -0.000589545, 0.982516), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGR/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix) (5 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/6, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGR/6 (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/7, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGR/7 (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/8, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGR/8 (1 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/9, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGR/9 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1743): error: The max difference between matrices "dst_gold" and "dst" is 0.000550881 at (64, 2), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (64, 2) evaluates to (0.83979, 0, 0.55294), "dst" at (64, 2) evaluates to (0.83979, -0.000550881, 0.552941), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGR/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1743): error: The max difference between matrices "dst_gold" and "dst" is 0.000517055 at (83, 43), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (83, 43) evaluates to (0, 0.998051, 0.106375), "dst" at (83, 43) evaluates to (-0.000517055, 0.998051, 0.106376), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGR/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/12, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGR/12 (865 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/13, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGR/13 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/14, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGR/14 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/15, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGR/15 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1743): error: The max difference between matrices "dst_gold" and "dst" is 0.00149032 at (116, 24), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (116, 24) evaluates to (0.593788, 0.970716, 0), "dst" at (116, 24) evaluates to (0.593788, 0.970717, -0.00149032), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGR/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1743): error: The max difference between matrices "dst_gold" and "dst" is 0.000483242 at (124, 57), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (124, 57) evaluates to (0.523473, 0, 0.945398), "dst" at (124, 57) evaluates to (0.523473, -0.000483242, 0.945397), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGR/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/18, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGR/18 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/19, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGR/19 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/20, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGR/20 (1 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/21, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGR/21 (1 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1743): error: The max difference between matrices "dst_gold" and "dst" is 0.000539942 at (74, 22), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (74, 22) evaluates to (0.839861, 0, 0.92001), "dst" at (74, 22) evaluates to (0.839861, -0.000539942, 0.92001), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGR/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGR/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1743): error: The max difference between matrices "dst_gold" and "dst" is 0.000444587 at (91, 8), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (91, 8) evaluates to (0.145019, 0.935527, 0), "dst" at (91, 8) evaluates to (0.145019, 0.935527, -0.000444587), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGR/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix) (7 ms)
[----------] 24 tests from CUDA_ImgProc/CvtColor (2243 ms total)

[----------] Global test environment tear-down
[==========] 24 tests from 1 test case ran. (2253 ms total)
[  PASSED  ] 16 tests.
[  FAILED  ] 8 tests, listed below:
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGR/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGR/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGR/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGR/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGR/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGR/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGR/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGR/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)

 8 FAILED TESTS
```
</details>

<details>
<summary>cudaimgproc --gtest_filter=CUDA_ImgProc/CvtColor.Lab2BGRA/*</summary>
<br />

```
Note: Google Test filter = CUDA_ImgProc/CvtColor.Lab2BGRA/*
[==========] Running 24 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 24 tests from CUDA_ImgProc/CvtColor
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/0, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGRA/0 (1167 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/1, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGRA/1 (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/2, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGRA/2 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/3, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGRA/3 (1 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1779): error: The max difference between matrices "dst_gold" and "dst" is 0.000969685 at (32, 109), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (32, 109) evaluates to (0.0536261, 0.978481, 0, 1), "dst" at (32, 109) evaluates to (0.0536264, 0.978481, -0.000969685, 1), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGRA/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1779): error: The max difference between matrices "dst_gold" and "dst" is 0.000589545 at (57, 69), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (57, 69) evaluates to (0.896404, 0, 0.982517, 1), "dst" at (57, 69) evaluates to (0.896404, -0.000589545, 0.982516, 1), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGRA/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/6, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGRA/6 (6 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/7, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGRA/7 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/8, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGRA/8 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/9, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGRA/9 (1 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1779): error: The max difference between matrices "dst_gold" and "dst" is 0.000550881 at (64, 2), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (64, 2) evaluates to (0.83979, 0, 0.55294, 1), "dst" at (64, 2) evaluates to (0.83979, -0.000550881, 0.552941, 1), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGRA/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1779): error: The max difference between matrices "dst_gold" and "dst" is 0.000517055 at (83, 43), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (83, 43) evaluates to (0, 0.998051, 0.106375, 1), "dst" at (83, 43) evaluates to (-0.000517055, 0.998051, 0.106376, 1), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGRA/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix) (15 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/12, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGRA/12 (868 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/13, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGRA/13 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/14, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGRA/14 (1 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/15, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGRA/15 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1779): error: The max difference between matrices "dst_gold" and "dst" is 0.00149032 at (116, 24), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (116, 24) evaluates to (0.593788, 0.970716, 0, 1), "dst" at (116, 24) evaluates to (0.593788, 0.970717, -0.00149032, 1), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGRA/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1779): error: The max difference between matrices "dst_gold" and "dst" is 0.000483242 at (124, 57), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (124, 57) evaluates to (0.523473, 0, 0.945398, 1), "dst" at (124, 57) evaluates to (0.523473, -0.000483242, 0.945397, 1), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGRA/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix) (5 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/18, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGRA/18 (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/19, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGRA/19 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/20, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGRA/20 (1 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/21, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2BGRA/21 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1779): error: The max difference between matrices "dst_gold" and "dst" is 0.000539942 at (74, 22), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (74, 22) evaluates to (0.839861, 0, 0.92001, 1), "dst" at (74, 22) evaluates to (0.839861, -0.000539942, 0.92001, 1), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGRA/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix) (7 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2BGRA/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1779): error: The max difference between matrices "dst_gold" and "dst" is 0.000444587 at (91, 8), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (91, 8) evaluates to (0.145019, 0.935527, 0, 1), "dst" at (91, 8) evaluates to (0.145019, 0.935527, -0.000444587, 1), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGRA/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix) (12 ms)
[----------] 24 tests from CUDA_ImgProc/CvtColor (2246 ms total)

[----------] Global test environment tear-down
[==========] 24 tests from 1 test case ran. (2255 ms total)
[  PASSED  ] 16 tests.
[  FAILED  ] 8 tests, listed below:
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGRA/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGRA/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGRA/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGRA/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGRA/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGRA/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGRA/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2BGRA/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)

 8 FAILED TESTS
```
</details>

<details>
<summary>cudaimgproc --gtest_filter=CUDA_ImgProc/CvtColor.Lab2LBGR/*</summary>
<br />

```
Note: Google Test filter = CUDA_ImgProc/CvtColor.Lab2LBGR/*
[==========] Running 24 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 24 tests from CUDA_ImgProc/CvtColor
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/0, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LBGR/0 (1141 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/1, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LBGR/1 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/2, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LBGR/2 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/3, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LBGR/3 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1796): error: The max difference between matrices "dst_gold" and "dst" is 0.00033617 at (67, 5), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (67, 5) evaluates to (0.880201, 0.0143441, 1), "dst" at (67, 5) evaluates to (0.880201, 0.014344, 1.00034), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LBGR/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1796): error: The max difference between matrices "dst_gold" and "dst" is 4.56004e-005 at (57, 69), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (57, 69) evaluates to (0.780315, 0, 0.960688), "dst" at (57, 69) evaluates to (0.780316, -4.56004e-005, 0.960688), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LBGR/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/6, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LBGR/6 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/7, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LBGR/7 (5 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/8, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LBGR/8 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/9, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LBGR/9 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1796): error: The max difference between matrices "dst_gold" and "dst" is 4.26098e-005 at (64, 2), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (64, 2) evaluates to (0.67348, 0, 0.266355), "dst" at (64, 2) evaluates to (0.673481, -4.26098e-005, 0.266355), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LBGR/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix) (13 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1796): error: The max difference between matrices "dst_gold" and "dst" is 3.99934e-005 at (83, 43), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (83, 43) evaluates to (0, 0.995571, 0.0110409), "dst" at (83, 43) evaluates to (-3.99934e-005, 0.995571, 0.0110409), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LBGR/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/12, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LBGR/12 (798 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/13, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LBGR/13 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/14, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LBGR/14 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/15, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LBGR/15 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1796): error: The max difference between matrices "dst_gold" and "dst" is 0.000115275 at (116, 24), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (116, 24) evaluates to (0.311344, 0.934673, 0), "dst" at (116, 24) evaluates to (0.311344, 0.934672, -0.000115275), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LBGR/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1796): error: The max difference between matrices "dst_gold" and "dst" is 5.72205e-005 at (109, 86), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (109, 86) evaluates to (1, 0.00757743, 0.285055), "dst" at (109, 86) evaluates to (1.00006, 0.00757725, 0.285055), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LBGR/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/18, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LBGR/18 (7 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/19, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LBGR/19 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/20, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LBGR/20 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/21, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LBGR/21 (1 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1796): error: The max difference between matrices "dst_gold" and "dst" is 0.000108123 at (15, 110), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (15, 110) evaluates to (0.00908916, 1, 0.656073), "dst" at (15, 110) evaluates to (0.00908923, 1.00011, 0.656074), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LBGR/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LBGR/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1796): error: The max difference between matrices "dst_gold" and "dst" is 3.43881e-005 at (91, 8), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (91, 8) evaluates to (0.0184828, 0.859554, 0), "dst" at (91, 8) evaluates to (0.0184828, 0.859554, -3.43881e-005), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LBGR/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix) (2 ms)
[----------] 24 tests from CUDA_ImgProc/CvtColor (2093 ms total)

[----------] Global test environment tear-down
[==========] 24 tests from 1 test case ran. (2100 ms total)
[  PASSED  ] 16 tests.
[  FAILED  ] 8 tests, listed below:
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LBGR/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LBGR/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LBGR/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LBGR/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LBGR/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LBGR/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LBGR/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LBGR/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)

 8 FAILED TESTS
```
</details>

<details>
<summary>cudaimgproc --gtest_filter=CUDA_ImgProc/CvtColor.Lab2LRGB/*</summary>
<br />

```
Note: Google Test filter = CUDA_ImgProc/CvtColor.Lab2LRGB/*
[==========] Running 24 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 24 tests from CUDA_ImgProc/CvtColor
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/0, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGB/0 (1114 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/1, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGB/1 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/2, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGB/2 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/3, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGB/3 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1813): error: The max difference between matrices "dst_gold" and "dst" is 0.00033617 at (67, 5), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (67, 5) evaluates to (1, 0.0143441, 0.880201), "dst" at (67, 5) evaluates to (1.00034, 0.014344, 0.880201), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGB/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1813): error: The max difference between matrices "dst_gold" and "dst" is 4.56004e-005 at (57, 69), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (57, 69) evaluates to (0.960688, 0, 0.780315), "dst" at (57, 69) evaluates to (0.960688, -4.56004e-005, 0.780316), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGB/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/6, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGB/6 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/7, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGB/7 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/8, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGB/8 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/9, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGB/9 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1813): error: The max difference between matrices "dst_gold" and "dst" is 4.26098e-005 at (64, 2), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (64, 2) evaluates to (0.266355, 0, 0.67348), "dst" at (64, 2) evaluates to (0.266355, -4.26098e-005, 0.673481), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGB/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix) (7 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1813): error: The max difference between matrices "dst_gold" and "dst" is 3.99934e-005 at (83, 43), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (83, 43) evaluates to (0.0110409, 0.995571, 0), "dst" at (83, 43) evaluates to (0.0110409, 0.995571, -3.99934e-005), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGB/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix) (14 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/12, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGB/12 (829 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/13, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGB/13 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/14, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGB/14 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/15, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGB/15 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1813): error: The max difference between matrices "dst_gold" and "dst" is 0.000115275 at (116, 24), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (116, 24) evaluates to (0, 0.934673, 0.311344), "dst" at (116, 24) evaluates to (-0.000115275, 0.934672, 0.311344), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGB/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1813): error: The max difference between matrices "dst_gold" and "dst" is 5.72205e-005 at (109, 86), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (109, 86) evaluates to (0.285055, 0.00757743, 1), "dst" at (109, 86) evaluates to (0.285055, 0.00757725, 1.00006), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGB/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/18, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGB/18 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/19, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGB/19 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/20, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGB/20 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/21, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGB/21 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1813): error: The max difference between matrices "dst_gold" and "dst" is 0.000108123 at (15, 110), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (15, 110) evaluates to (0.656073, 1, 0.00908916), "dst" at (15, 110) evaluates to (0.656074, 1.00011, 0.00908923), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGB/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix) (5 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGB/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1813): error: The max difference between matrices "dst_gold" and "dst" is 3.43881e-005 at (91, 8), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (91, 8) evaluates to (0, 0.859554, 0.0184828), "dst" at (91, 8) evaluates to (-3.43881e-005, 0.859554, 0.0184828), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGB/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix) (2 ms)
[----------] 24 tests from CUDA_ImgProc/CvtColor (2132 ms total)

[----------] Global test environment tear-down
[==========] 24 tests from 1 test case ran. (2141 ms total)
[  PASSED  ] 16 tests.
[  FAILED  ] 8 tests, listed below:
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGB/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGB/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGB/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGB/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGB/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGB/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGB/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGB/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)

 8 FAILED TESTS
```
</details>

<details>
<summary>cudaimgproc --gtest_filter=CUDA_ImgProc/CvtColor.Lab2LRGBA/*</summary>
<br />

```
Note: Google Test filter = CUDA_ImgProc/CvtColor.Lab2LRGBA/*
[==========] Running 24 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 24 tests from CUDA_ImgProc/CvtColor
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/0, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGBA/0 (1342 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/1, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGBA/1 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/2, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGBA/2 (1 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/3, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGBA/3 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1830): error: The max difference between matrices "dst_gold" and "dst" is 0.00033617 at (67, 5), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (67, 5) evaluates to (1, 0.0143441, 0.880201, 1), "dst" at (67, 5) evaluates to (1.00034, 0.014344, 0.880201, 1), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGBA/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1830): error: The max difference between matrices "dst_gold" and "dst" is 4.56004e-005 at (57, 69), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (57, 69) evaluates to (0.960688, 0, 0.780315, 1), "dst" at (57, 69) evaluates to (0.960688, -4.56004e-005, 0.780316, 1), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGBA/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/6, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGBA/6 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/7, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGBA/7 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/8, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGBA/8 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/9, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGBA/9 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1830): error: The max difference between matrices "dst_gold" and "dst" is 4.26098e-005 at (64, 2), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (64, 2) evaluates to (0.266355, 0, 0.67348, 1), "dst" at (64, 2) evaluates to (0.266355, -4.26098e-005, 0.673481, 1), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGBA/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1830): error: The max difference between matrices "dst_gold" and "dst" is 3.99934e-005 at (83, 43), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (83, 43) evaluates to (0.0110409, 0.995571, 0, 1), "dst" at (83, 43) evaluates to (0.0110409, 0.995571, -3.99934e-005, 1), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGBA/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix) (5 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/12, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGBA/12 (858 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/13, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGBA/13 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/14, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGBA/14 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/15, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGBA/15 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1830): error: The max difference between matrices "dst_gold" and "dst" is 0.000115275 at (116, 24), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (116, 24) evaluates to (0, 0.934673, 0.311344, 1), "dst" at (116, 24) evaluates to (-0.000115275, 0.934672, 0.311344, 1), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGBA/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1830): error: The max difference between matrices "dst_gold" and "dst" is 5.72205e-005 at (109, 86), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (109, 86) evaluates to (0.285055, 0.00757743, 1, 1), "dst" at (109, 86) evaluates to (0.285055, 0.00757725, 1.00006, 1), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGBA/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/18, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGBA/18 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/19, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGBA/19 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/20, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGBA/20 (1 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/21, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2LRGBA/21 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1830): error: The max difference between matrices "dst_gold" and "dst" is 0.000108123 at (15, 110), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (15, 110) evaluates to (0.656073, 1, 0.00908916, 1), "dst" at (15, 110) evaluates to (0.656074, 1.00011, 0.00908923, 1), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGBA/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix) (5 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2LRGBA/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1830): error: The max difference between matrices "dst_gold" and "dst" is 3.43881e-005 at (91, 8), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (91, 8) evaluates to (0, 0.859554, 0.0184828, 1), "dst" at (91, 8) evaluates to (-3.43881e-005, 0.859554, 0.0184828, 1), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGBA/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix) (3 ms)
[----------] 24 tests from CUDA_ImgProc/CvtColor (2370 ms total)

[----------] Global test environment tear-down
[==========] 24 tests from 1 test case ran. (2391 ms total)
[  PASSED  ] 16 tests.
[  FAILED  ] 8 tests, listed below:
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGBA/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGBA/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGBA/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGBA/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGBA/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGBA/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGBA/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2LRGBA/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)

 8 FAILED TESTS
```
</details>
<details>
<summary>cudaimgproc --gtest_filter=CUDA_ImgProc/CvtColor.Lab2RGB/*</summary>
<br />

```
Note: Google Test filter = CUDA_ImgProc/CvtColor.Lab2RGB/*
[==========] Running 24 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 24 tests from CUDA_ImgProc/CvtColor
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/0, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2RGB/0 (1150 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/1, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2RGB/1 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/2, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2RGB/2 (1 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/3, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2RGB/3 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1760): error: The max difference between matrices "dst_gold" and "dst" is 0.000969685 at (32, 109), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (32, 109) evaluates to (0, 0.978481, 0.0536261), "dst" at (32, 109) evaluates to (-0.000969685, 0.978481, 0.0536264), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2RGB/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix) (5 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1760): error: The max difference between matrices "dst_gold" and "dst" is 0.000589545 at (57, 69), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (57, 69) evaluates to (0.982517, 0, 0.896404), "dst" at (57, 69) evaluates to (0.982516, -0.000589545, 0.896404), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2RGB/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/6, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2RGB/6 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/7, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2RGB/7 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/8, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2RGB/8 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/9, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2RGB/9 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1760): error: The max difference between matrices "dst_gold" and "dst" is 0.000550881 at (64, 2), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (64, 2) evaluates to (0.55294, 0, 0.83979), "dst" at (64, 2) evaluates to (0.552941, -0.000550881, 0.83979), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2RGB/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix) (6 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1760): error: The max difference between matrices "dst_gold" and "dst" is 0.000517055 at (83, 43), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (83, 43) evaluates to (0.106375, 0.998051, 0), "dst" at (83, 43) evaluates to (0.106376, 0.998051, -0.000517055), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2RGB/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/12, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2RGB/12 (849 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/13, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2RGB/13 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/14, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2RGB/14 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/15, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2RGB/15 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1760): error: The max difference between matrices "dst_gold" and "dst" is 0.00149032 at (116, 24), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (116, 24) evaluates to (0, 0.970716, 0.593788), "dst" at (116, 24) evaluates to (-0.00149032, 0.970717, 0.593788), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2RGB/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix) (6 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1760): error: The max difference between matrices "dst_gold" and "dst" is 0.000483242 at (124, 57), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (124, 57) evaluates to (0.945398, 0, 0.523473), "dst" at (124, 57) evaluates to (0.945397, -0.000483242, 0.523473), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2RGB/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/18, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2RGB/18 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/19, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2RGB/19 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/20, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2RGB/20 (0 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/21, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.Lab2RGB/21 (1 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1760): error: The max difference between matrices "dst_gold" and "dst" is 0.000539942 at (74, 22), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (74, 22) evaluates to (0.92001, 0, 0.839861), "dst" at (74, 22) evaluates to (0.92001, -0.000539942, 0.839861), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2RGB/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.Lab2RGB/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(1760): error: The max difference between matrices "dst_gold" and "dst" is 0.000444587 at (91, 8), which exceeds "depth == 0 ? 2 : 1e-5", where "dst_gold" at (91, 8) evaluates to (0, 0.935527, 0.145019), "dst" at (91, 8) evaluates to (-0.000444587, 0.935527, 0.145019), "depth == 0 ? 2 : 1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2RGB/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix) (3 ms)
[----------] 24 tests from CUDA_ImgProc/CvtColor (2197 ms total)

[----------] Global test environment tear-down
[==========] 24 tests from 1 test case ran. (2230 ms total)
[  PASSED  ] 16 tests.
[  FAILED  ] 8 tests, listed below:
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2RGB/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2RGB/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2RGB/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2RGB/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2RGB/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2RGB/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2RGB/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.Lab2RGB/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)

 8 FAILED TESTS
```
</details>

<details>
<summary>cudaimgproc --gtest_filter=CUDA_ImgProc/CvtColor.RGB2GRAY/*</summary>
<br />

```
Note: Google Test filter = CUDA_ImgProc/CvtColor.RGB2GRAY/*
[==========] Running 24 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 24 tests from CUDA_ImgProc/CvtColor
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/0, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(178): error: The max difference between matrices "dst_gold" and "dst" is 1 at (2, 51), which exceeds "1e-5", where "dst_gold" at (2, 51) evaluates to (124), "dst" at (2, 51) evaluates to (125), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.RGB2GRAY/0, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix) (965 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/1, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(178): error: The max difference between matrices "dst_gold" and "dst" is 1 at (16, 23), which exceeds "1e-5", where "dst_gold" at (16, 23) evaluates to (155), "dst" at (16, 23) evaluates to (154), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.RGB2GRAY/1, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/2, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGB2GRAY/2 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/3, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGB2GRAY/3 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGB2GRAY/4 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGB2GRAY/5 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/6, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(178): error: The max difference between matrices "dst_gold" and "dst" is 1 at (3, 27), which exceeds "1e-5", where "dst_gold" at (3, 27) evaluates to (80), "dst" at (3, 27) evaluates to (81), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.RGB2GRAY/6, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix) (8 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/7, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(178): error: The max difference between matrices "dst_gold" and "dst" is 1 at (0, 4), which exceeds "1e-5", where "dst_gold" at (0, 4) evaluates to (154), "dst" at (0, 4) evaluates to (153), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.RGB2GRAY/7, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix) (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/8, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGB2GRAY/8 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/9, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGB2GRAY/9 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGB2GRAY/10 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGB2GRAY/11 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/12, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(178): error: The max difference between matrices "dst_gold" and "dst" is 1 at (2, 63), which exceeds "1e-5", where "dst_gold" at (2, 63) evaluates to (235), "dst" at (2, 63) evaluates to (234), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.RGB2GRAY/12, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix) (805 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/13, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(178): error: The max difference between matrices "dst_gold" and "dst" is 1 at (0, 14), which exceeds "1e-5", where "dst_gold" at (0, 14) evaluates to (33), "dst" at (0, 14) evaluates to (34), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.RGB2GRAY/13, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/14, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGB2GRAY/14 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/15, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGB2GRAY/15 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGB2GRAY/16 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGB2GRAY/17 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/18, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(178): error: The max difference between matrices "dst_gold" and "dst" is 1 at (1, 111), which exceeds "1e-5", where "dst_gold" at (1, 111) evaluates to (51), "dst" at (1, 111) evaluates to (52), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.RGB2GRAY/18, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix) (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/19, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(178): error: The max difference between matrices "dst_gold" and "dst" is 1 at (1, 85), which exceeds "1e-5", where "dst_gold" at (1, 85) evaluates to (90), "dst" at (1, 85) evaluates to (91), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.RGB2GRAY/19, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix) (5 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/20, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGB2GRAY/20 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/21, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGB2GRAY/21 (11 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGB2GRAY/22 (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGB2GRAY/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGB2GRAY/23 (4 ms)
[----------] 24 tests from CUDA_ImgProc/CvtColor (1971 ms total)

[----------] Global test environment tear-down
[==========] 24 tests from 1 test case ran. (1977 ms total)
[  PASSED  ] 16 tests.
[  FAILED  ] 8 tests, listed below:
[  FAILED  ] CUDA_ImgProc/CvtColor.RGB2GRAY/0, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.RGB2GRAY/1, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.RGB2GRAY/6, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.RGB2GRAY/7, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.RGB2GRAY/12, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.RGB2GRAY/13, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.RGB2GRAY/18, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.RGB2GRAY/19, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)

 8 FAILED TESTS
```
</details>

<details>
<summary>cudaimgproc --gtest_filter=CUDA_ImgProc/CvtColor.RGBA2GRAY/*</summary>
<br />

```
Note: Google Test filter = CUDA_ImgProc/CvtColor.RGBA2GRAY/*
[==========] Running 24 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 24 tests from CUDA_ImgProc/CvtColor
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/0, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(234): error: The max difference between matrices "dst_gold" and "dst" is 1 at (5, 81), which exceeds "1e-5", where "dst_gold" at (5, 81) evaluates to (45), "dst" at (5, 81) evaluates to (46), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.RGBA2GRAY/0, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix) (875 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/1, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(234): error: The max difference between matrices "dst_gold" and "dst" is 1 at (6, 6), which exceeds "1e-5", where "dst_gold" at (6, 6) evaluates to (107), "dst" at (6, 6) evaluates to (108), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.RGBA2GRAY/1, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/2, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGBA2GRAY/2 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/3, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGBA2GRAY/3 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/4, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGBA2GRAY/4 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/5, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGBA2GRAY/5 (11 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/6, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(234): error: The max difference between matrices "dst_gold" and "dst" is 1 at (2, 36), which exceeds "1e-5", where "dst_gold" at (2, 36) evaluates to (127), "dst" at (2, 36) evaluates to (126), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.RGBA2GRAY/6, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix) (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/7, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(234): error: The max difference between matrices "dst_gold" and "dst" is 1 at (0, 11), which exceeds "1e-5", where "dst_gold" at (0, 11) evaluates to (166), "dst" at (0, 11) evaluates to (165), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.RGBA2GRAY/7, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix) (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/8, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGBA2GRAY/8 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/9, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGBA2GRAY/9 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/10, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGBA2GRAY/10 (8 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/11, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGBA2GRAY/11 (5 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/12, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(234): error: The max difference between matrices "dst_gold" and "dst" is 1 at (3, 10), which exceeds "1e-5", where "dst_gold" at (3, 10) evaluates to (103), "dst" at (3, 10) evaluates to (102), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.RGBA2GRAY/12, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix) (797 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/13, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(234): error: The max difference between matrices "dst_gold" and "dst" is 1 at (0, 31), which exceeds "1e-5", where "dst_gold" at (0, 31) evaluates to (155), "dst" at (0, 31) evaluates to (154), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.RGBA2GRAY/13, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix) (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/14, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGBA2GRAY/14 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/15, where GetParam() = (GeForce GTX 1080, 128x128, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGBA2GRAY/15 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/16, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGBA2GRAY/16 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/17, where GetParam() = (GeForce GTX 1080, 128x128, CV_32F, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGBA2GRAY/17 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/18, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(234): error: The max difference between matrices "dst_gold" and "dst" is 1 at (1, 100), which exceeds "1e-5", where "dst_gold" at (1, 100) evaluates to (181), "dst" at (1, 100) evaluates to (180), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.RGBA2GRAY/18, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix) (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/19, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
F:\opencv_contrib\modules\cudaimgproc\test\test_color.cpp(234): error: The max difference between matrices "dst_gold" and "dst" is 1 at (0, 14), which exceeds "1e-5", where "dst_gold" at (0, 14) evaluates to (136), "dst" at (0, 14) evaluates to (135), "1e-5" evaluates to 1e-005
[  FAILED  ] CUDA_ImgProc/CvtColor.RGBA2GRAY/19, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix) (6 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/20, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGBA2GRAY/20 (4 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/21, where GetParam() = (GeForce GTX 1080, 113x113, CV_16U, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGBA2GRAY/21 (2 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/22, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, whole matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGBA2GRAY/22 (3 ms)
[ RUN      ] CUDA_ImgProc/CvtColor.RGBA2GRAY/23, where GetParam() = (GeForce GTX 1080, 113x113, CV_32F, sub matrix)
[       OK ] CUDA_ImgProc/CvtColor.RGBA2GRAY/23 (3 ms)
[----------] 24 tests from CUDA_ImgProc/CvtColor (1849 ms total)

[----------] Global test environment tear-down
[==========] 24 tests from 1 test case ran. (1856 ms total)
[  PASSED  ] 16 tests.
[  FAILED  ] 8 tests, listed below:
[  FAILED  ] CUDA_ImgProc/CvtColor.RGBA2GRAY/0, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.RGBA2GRAY/1, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.RGBA2GRAY/6, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.RGBA2GRAY/7, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.RGBA2GRAY/12, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.RGBA2GRAY/13, where GetParam() = (GeForce GTX 1080, 128x128, CV_8U, sub matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.RGBA2GRAY/18, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, whole matrix)
[  FAILED  ] CUDA_ImgProc/CvtColor.RGBA2GRAY/19, where GetParam() = (GeForce GTX 1080, 113x113, CV_8U, sub matrix)

 8 FAILED TESTS
```
</details>