mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
Merge pull request #264 from kirill-kornyakov:remove-hack-from-hough-lines-perf-test
This commit is contained in:
commit
5f41971305
@ -36,18 +36,5 @@ PERF_TEST_P(Image_RhoStep_ThetaStep_Threshold, HoughLines,
|
|||||||
|
|
||||||
TEST_CYCLE() HoughLines(image, lines, rhoStep, thetaStep, threshold);
|
TEST_CYCLE() HoughLines(image, lines, rhoStep, thetaStep, threshold);
|
||||||
|
|
||||||
#ifdef WIN32
|
|
||||||
//FIXME: ugly fix to make sanity check pass on Win32, must be investigated, issue #2617
|
|
||||||
if (lines.cols == 2015)
|
|
||||||
{
|
|
||||||
lines = lines(Rect(0, 0, lines.cols - 1, lines.rows));
|
|
||||||
SANITY_CHECK(lines, 800.0);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
SANITY_CHECK(lines);
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
SANITY_CHECK(lines);
|
SANITY_CHECK(lines);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user