Merge pull request #11279 from shimat:fix_LSD_test

This commit is contained in:
Alexander Alekhin 2018-04-10 08:48:53 +00:00
commit a68ffc81da

View File

@ -224,7 +224,7 @@ TEST_F(Imgproc_LSD_NONE, whiteNoise)
for (int i = 0; i < EPOCHS; ++i)
{
GenerateWhiteNoise(test_image);
Ptr<LineSegmentDetector> detector = createLineSegmentDetector(LSD_REFINE_STD);
Ptr<LineSegmentDetector> detector = createLineSegmentDetector(LSD_REFINE_NONE);
detector->detect(test_image, lines);
if(50u >= lines.size()) ++passedtests;