diff --git a/samples/cpp/lsd_lines.cpp b/samples/cpp/lsd_lines.cpp index b75fce5988..62692f70bd 100644 --- a/samples/cpp/lsd_lines.cpp +++ b/samples/cpp/lsd_lines.cpp @@ -46,7 +46,7 @@ int main(int argc, char** argv) // Show found lines Mat drawnLines(image); - lsd_std->drawSegments(drawnLines, lines_std); + ls->drawSegments(drawnLines, lines_std); imshow("Standard refinement", drawnLines); waitKey();