Updated LineSegmentDetector functions to use InputOuputArrays + fixed documentation and added a sample algorithm output image.