1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

gapi(test): more reliable checks

avoid `countNonZero()`, use `norm()`
This commit is contained in:
Alexander Alekhin
2018-11-09 14:11:13 +03:00
parent dd6f5949c2
commit 6189b47648
14 changed files with 202 additions and 285 deletions
@@ -26,7 +26,7 @@ namespace opencv_test
Values(cv::compile_args(IMGPROC_FLUID))));
INSTANTIATE_TEST_CASE_P(SobelPerfTestFluid32F, SobelPerfTest,
Combine(Values(AbsToleranceSobel(1e-3).to_compare_f()),
Combine(Values(ToleranceFilter(1e-3f, 0.0).to_compare_f()),
Values(CV_32FC1),
Values(3), // add 5x5 once supported
Values(szVGA, sz720p, sz1080p),