Performance testing: added option to get list of all values for CV_ENUM; added perf test for cv::Sobel

This commit is contained in:
Andrey Kamaev
2011-11-01 15:41:43 +00:00
parent 46262b1972
commit a612fa1520
5 changed files with 77 additions and 4 deletions

View File

@@ -19,7 +19,8 @@ CV_EXPORTS_W void inpaint( InputArray src, InputArray inpaintMask,
PERF_TEST_P( InpaintArea_InpaintingMethod, inpaint,
testing::Combine(
SZ_ALL_SMALL,
testing::Values( (int)INPAINT_NS, (int)INPAINT_TELEA ))
testing::ValuesIn(InpaintingMethod::all())
)
)
{
Mat src = imread( getDataPath("gpu/hog/road.png") );