projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86488ac
)
fix LSD test (wrong detector kind)
author
shimat
<schimatk@gmail.com>
Tue, 10 Apr 2018 02:38:35 +0000
(11:38 +0900)
committer
shimat
<schimatk@gmail.com>
Tue, 10 Apr 2018 02:38:35 +0000
(11:38 +0900)
modules/imgproc/test/test_lsd.cpp
patch
|
blob
|
history
diff --git
a/modules/imgproc/test/test_lsd.cpp
b/modules/imgproc/test/test_lsd.cpp
index
835d88f
..
43d00b4
100644
(file)
--- a/
modules/imgproc/test/test_lsd.cpp
+++ b/
modules/imgproc/test/test_lsd.cpp
@@
-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;