Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

simple straight lines detection algorithm

I'm looking for a simple algorithm for finding straight lines on the image. Not necessarily fast, just a working concept. I've done my homework and already found several approaches to the problem (e.g. combination of Canny and Hough transform or LSD) but couldn't find anything relatively easy to implement.

My input data are grayscaled 8 bpp images.

like image 216
mariusz Avatar asked Sep 13 '26 10:09

mariusz


1 Answers

The Hough Transform is a good way to do this. Also try RANSAC algorithm which is more robust to outliers.

like image 92
geek_girl Avatar answered Sep 16 '26 08:09

geek_girl



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!