Commit 83def21b authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

increased time limits in perf tests

parent 321070cc
...@@ -13,7 +13,7 @@ DEF_PARAM_TEST_1(ImagePair, pair_string); ...@@ -13,7 +13,7 @@ DEF_PARAM_TEST_1(ImagePair, pair_string);
PERF_TEST_P(ImagePair, Calib3D_StereoBM, PERF_TEST_P(ImagePair, Calib3D_StereoBM,
Values(pair_string("gpu/perf/aloe.png", "gpu/perf/aloeR.png"))) Values(pair_string("gpu/perf/aloe.png", "gpu/perf/aloeR.png")))
{ {
declare.time(5.0); declare.time(300.0);
const cv::Mat imgLeft = readImage(GET_PARAM(0), cv::IMREAD_GRAYSCALE); const cv::Mat imgLeft = readImage(GET_PARAM(0), cv::IMREAD_GRAYSCALE);
ASSERT_FALSE(imgLeft.empty()); ASSERT_FALSE(imgLeft.empty());
...@@ -54,7 +54,7 @@ PERF_TEST_P(ImagePair, Calib3D_StereoBM, ...@@ -54,7 +54,7 @@ PERF_TEST_P(ImagePair, Calib3D_StereoBM,
PERF_TEST_P(ImagePair, Calib3D_StereoBeliefPropagation, PERF_TEST_P(ImagePair, Calib3D_StereoBeliefPropagation,
Values(pair_string("gpu/stereobp/aloe-L.png", "gpu/stereobp/aloe-R.png"))) Values(pair_string("gpu/stereobp/aloe-L.png", "gpu/stereobp/aloe-R.png")))
{ {
declare.time(10.0); declare.time(300.0);
const cv::Mat imgLeft = readImage(GET_PARAM(0)); const cv::Mat imgLeft = readImage(GET_PARAM(0));
ASSERT_FALSE(imgLeft.empty()); ASSERT_FALSE(imgLeft.empty());
...@@ -88,7 +88,7 @@ PERF_TEST_P(ImagePair, Calib3D_StereoBeliefPropagation, ...@@ -88,7 +88,7 @@ PERF_TEST_P(ImagePair, Calib3D_StereoBeliefPropagation,
PERF_TEST_P(ImagePair, Calib3D_StereoConstantSpaceBP, PERF_TEST_P(ImagePair, Calib3D_StereoConstantSpaceBP,
Values(pair_string("gpu/stereobm/aloe-L.png", "gpu/stereobm/aloe-R.png"))) Values(pair_string("gpu/stereobm/aloe-L.png", "gpu/stereobm/aloe-R.png")))
{ {
declare.time(10.0); declare.time(300.0);
const cv::Mat imgLeft = readImage(GET_PARAM(0), cv::IMREAD_GRAYSCALE); const cv::Mat imgLeft = readImage(GET_PARAM(0), cv::IMREAD_GRAYSCALE);
ASSERT_FALSE(imgLeft.empty()); ASSERT_FALSE(imgLeft.empty());
......
...@@ -64,7 +64,7 @@ PERF_TEST_P(Sz_Depth_Cn_WinSz_BlockSz, Denoising_NonLocalMeans, ...@@ -64,7 +64,7 @@ PERF_TEST_P(Sz_Depth_Cn_WinSz_BlockSz, Denoising_NonLocalMeans,
Values(21), Values(21),
Values(5))) Values(5)))
{ {
declare.time(60.0); declare.time(600.0);
const cv::Size size = GET_PARAM(0); const cv::Size size = GET_PARAM(0);
const int depth = GET_PARAM(1); const int depth = GET_PARAM(1);
......
...@@ -55,6 +55,8 @@ PERF_TEST_P(Image_NFeatures, Features2D_ORB, ...@@ -55,6 +55,8 @@ PERF_TEST_P(Image_NFeatures, Features2D_ORB,
Combine(Values<string>("gpu/perf/aloe.png"), Combine(Values<string>("gpu/perf/aloe.png"),
Values(4000))) Values(4000)))
{ {
declare.time(300.0);
const cv::Mat img = readImage(GET_PARAM(0), cv::IMREAD_GRAYSCALE); const cv::Mat img = readImage(GET_PARAM(0), cv::IMREAD_GRAYSCALE);
ASSERT_FALSE(img.empty()); ASSERT_FALSE(img.empty());
......
...@@ -632,7 +632,7 @@ DEF_PARAM_TEST_1(Image, string); ...@@ -632,7 +632,7 @@ DEF_PARAM_TEST_1(Image, string);
PERF_TEST_P(Image, ImgProc_MeanShiftFiltering, PERF_TEST_P(Image, ImgProc_MeanShiftFiltering,
Values<string>("gpu/meanshift/cones.png")) Values<string>("gpu/meanshift/cones.png"))
{ {
declare.time(15.0); declare.time(300.0);
const cv::Mat img = readImage(GetParam()); const cv::Mat img = readImage(GetParam());
ASSERT_FALSE(img.empty()); ASSERT_FALSE(img.empty());
...@@ -668,7 +668,7 @@ PERF_TEST_P(Image, ImgProc_MeanShiftFiltering, ...@@ -668,7 +668,7 @@ PERF_TEST_P(Image, ImgProc_MeanShiftFiltering,
PERF_TEST_P(Image, ImgProc_MeanShiftProc, PERF_TEST_P(Image, ImgProc_MeanShiftProc,
Values<string>("gpu/meanshift/cones.png")) Values<string>("gpu/meanshift/cones.png"))
{ {
declare.time(5.0); declare.time(300.0);
const cv::Mat img = readImage(GetParam()); const cv::Mat img = readImage(GetParam());
ASSERT_FALSE(img.empty()); ASSERT_FALSE(img.empty());
...@@ -702,7 +702,7 @@ PERF_TEST_P(Image, ImgProc_MeanShiftProc, ...@@ -702,7 +702,7 @@ PERF_TEST_P(Image, ImgProc_MeanShiftProc,
PERF_TEST_P(Image, ImgProc_MeanShiftSegmentation, PERF_TEST_P(Image, ImgProc_MeanShiftSegmentation,
Values<string>("gpu/meanshift/cones.png")) Values<string>("gpu/meanshift/cones.png"))
{ {
declare.time(5.0); declare.time(300.0);
const cv::Mat img = readImage(GetParam()); const cv::Mat img = readImage(GetParam());
ASSERT_FALSE(img.empty()); ASSERT_FALSE(img.empty());
...@@ -830,6 +830,8 @@ PERF_TEST_P(Sz_TemplateSz_Cn_Method, ImgProc_MatchTemplate8U, ...@@ -830,6 +830,8 @@ PERF_TEST_P(Sz_TemplateSz_Cn_Method, ImgProc_MatchTemplate8U,
GPU_CHANNELS_1_3_4, GPU_CHANNELS_1_3_4,
ALL_TEMPLATE_METHODS)) ALL_TEMPLATE_METHODS))
{ {
declare.time(300.0);
const cv::Size size = GET_PARAM(0); const cv::Size size = GET_PARAM(0);
const cv::Size templ_size = GET_PARAM(1); const cv::Size templ_size = GET_PARAM(1);
const int cn = GET_PARAM(2); const int cn = GET_PARAM(2);
...@@ -868,6 +870,8 @@ PERF_TEST_P(Sz_TemplateSz_Cn_Method, ImgProc_MatchTemplate32F, ...@@ -868,6 +870,8 @@ PERF_TEST_P(Sz_TemplateSz_Cn_Method, ImgProc_MatchTemplate32F,
GPU_CHANNELS_1_3_4, GPU_CHANNELS_1_3_4,
Values(TemplateMethod(cv::TM_SQDIFF), TemplateMethod(cv::TM_CCORR)))) Values(TemplateMethod(cv::TM_SQDIFF), TemplateMethod(cv::TM_CCORR))))
{ {
declare.time(300.0);
const cv::Size size = GET_PARAM(0); const cv::Size size = GET_PARAM(0);
const cv::Size templ_size = GET_PARAM(1); const cv::Size templ_size = GET_PARAM(1);
const int cn = GET_PARAM(2); const int cn = GET_PARAM(2);
......
...@@ -19,6 +19,8 @@ PERF_TEST_P(Image, ObjDetect_HOG, ...@@ -19,6 +19,8 @@ PERF_TEST_P(Image, ObjDetect_HOG,
"gpu/caltech/image_00000527_0.png", "gpu/caltech/image_00000527_0.png",
"gpu/caltech/image_00000574_0.png")) "gpu/caltech/image_00000574_0.png"))
{ {
declare.time(300.0);
const cv::Mat img = readImage(GetParam(), cv::IMREAD_GRAYSCALE); const cv::Mat img = readImage(GetParam(), cv::IMREAD_GRAYSCALE);
ASSERT_FALSE(img.empty()); ASSERT_FALSE(img.empty());
......
...@@ -142,7 +142,7 @@ PERF_TEST_P(Image_MinDistance, Video_GoodFeaturesToTrack, ...@@ -142,7 +142,7 @@ PERF_TEST_P(Image_MinDistance, Video_GoodFeaturesToTrack,
PERF_TEST_P(ImagePair, Video_BroxOpticalFlow, PERF_TEST_P(ImagePair, Video_BroxOpticalFlow,
Values<pair_string>(make_pair("gpu/opticalflow/frame0.png", "gpu/opticalflow/frame1.png"))) Values<pair_string>(make_pair("gpu/opticalflow/frame0.png", "gpu/opticalflow/frame1.png")))
{ {
declare.time(10); declare.time(300);
cv::Mat frame0 = readImage(GetParam().first, cv::IMREAD_GRAYSCALE); cv::Mat frame0 = readImage(GetParam().first, cv::IMREAD_GRAYSCALE);
ASSERT_FALSE(frame0.empty()); ASSERT_FALSE(frame0.empty());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment