|
|
|
@ -11,6 +11,17 @@ using std::tr1::get; |
|
|
|
|
typedef std::tr1::tuple<String, double, double, int> Image_RhoStep_ThetaStep_Threshold_t; |
|
|
|
|
typedef perf::TestBaseWithParam<Image_RhoStep_ThetaStep_Threshold_t> Image_RhoStep_ThetaStep_Threshold; |
|
|
|
|
|
|
|
|
|
#ifdef __aarch64__ |
|
|
|
|
// In case of aarch64 the function produces one more line than expected
|
|
|
|
|
PERF_TEST_P(Image_RhoStep_ThetaStep_Threshold, DISABLED_HoughLines, |
|
|
|
|
testing::Combine( |
|
|
|
|
testing::Values( "cv/shared/pic5.png", "stitching/a1.png" ), |
|
|
|
|
testing::Values( 1, 10 ), |
|
|
|
|
testing::Values( 0.01, 0.1 ), |
|
|
|
|
testing::Values( 300, 500 ) |
|
|
|
|
) |
|
|
|
|
) |
|
|
|
|
#else |
|
|
|
|
PERF_TEST_P(Image_RhoStep_ThetaStep_Threshold, HoughLines, |
|
|
|
|
testing::Combine( |
|
|
|
|
testing::Values( "cv/shared/pic5.png", "stitching/a1.png" ), |
|
|
|
@ -19,6 +30,7 @@ PERF_TEST_P(Image_RhoStep_ThetaStep_Threshold, HoughLines, |
|
|
|
|
testing::Values( 300, 500 ) |
|
|
|
|
) |
|
|
|
|
) |
|
|
|
|
#endif |
|
|
|
|
{ |
|
|
|
|
String filename = getDataPath(get<0>(GetParam())); |
|
|
|
|
double rhoStep = get<1>(GetParam()); |
|
|
|
|