In OpenCV, there are two methods of detecting lines that give similar results in the form of a vector of endpoints - the Line Segments Detector (LSD) and the Probabilistic Hough Transform. (Discounting the standard Hough transform as the output given is in terms of equations, not line endpoints.)
I haven't been able to find a compare and contrast of these two line detection methods and their pros/cons. Thus - what is the difference between these two functions? Are there any particular benefits to using one method as opposed to the other?
Additionally, are there other lesser-known line detection methods (like LSD) that might be advantageous in some use cases?
Line Segments Detector (LSD)
(Progressive) Probabilistic Hough Transform
Other algorithms
(With thanks to Micka's comment for pointing out the differences in input and potential uses)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With