createLineSegmentDetectorPtr -> createLineSegmentDetector in tests and samples

This commit is contained in:
Alexander Mordvintsev
2013-09-19 19:06:48 +04:00
committed by Vadim Pisarevsky
parent 0a8d62e5fd
commit 20fe614c2f
2 changed files with 14 additions and 14 deletions

View File

@@ -30,9 +30,9 @@ int main(int argc, char** argv)
// Create and LSD detector with standard or no refinement.
#if 1
Ptr<LineSegmentDetector> ls = createLineSegmentDetectorPtr(LSD_REFINE_STD);
Ptr<LineSegmentDetector> ls = createLineSegmentDetector(LSD_REFINE_STD);
#else
Ptr<LineSegmentDetector> ls = createLineSegmentDetectorPtr(LSD_REFINE_NONE);
Ptr<LineSegmentDetector> ls = createLineSegmentDetector(LSD_REFINE_NONE);
#endif
double start = double(getTickCount());