fix accuracy tests in tiny mode

This commit is contained in:
Vladislav Vinogradov
2015-03-06 13:59:08 +03:00
parent dd93d48be4
commit f1bec940b1
13 changed files with 198 additions and 3 deletions

View File

@@ -86,7 +86,11 @@ GPU_TEST_P(Threshold, Accuracy)
INSTANTIATE_TEST_CASE_P(GPU_ImgProc, Threshold, testing::Combine(
ALL_DEVICES,
DIFFERENT_SIZES,
#ifdef OPENCV_TINY_GPU_MODULE
testing::Values(MatType(CV_8UC1), MatType(CV_32FC1)),
#else
testing::Values(MatType(CV_8UC1), MatType(CV_16SC1), MatType(CV_32FC1)),
#endif
ThreshOp::all(),
WHOLE_SUBMAT));