diff --git a/modules/imgproc/perf/perf_histogram.cpp b/modules/imgproc/perf/perf_histogram.cpp index cd46c8dee0..8d2a7989ed 100644 --- a/modules/imgproc/perf/perf_histogram.cpp +++ b/modules/imgproc/perf/perf_histogram.cpp @@ -99,7 +99,8 @@ PERF_TEST_P(Size_Source, calcHist3d, SANITY_CHECK(hist); } -PERF_TEST_P(TestMatSize, equalizeHist, +#define MatSize TestMatSize +PERF_TEST_P(MatSize, equalizeHist, testing::Values(TYPICAL_MAT_SIZES) ) { @@ -115,6 +116,7 @@ PERF_TEST_P(TestMatSize, equalizeHist, SANITY_CHECK(destination); } +#undef MatSize typedef tr1::tuple Sz_ClipLimit_t; typedef TestBaseWithParam Sz_ClipLimit;