Hough Lines Transform Explained

<p>Hough Lines Transform is the key method used in the previous&nbsp;<a href="http://tomaszkacmajor.pl/index.php/2017/05/17/lane-lines-detection/" rel="noopener ugc nofollow" target="_blank">project</a>&nbsp;where lane lines are detected. It is very helpful in many Computer Vision applications. The original form of Hough Transform aimed to&nbsp;<strong>identify straight lines</strong>. And that&rsquo;s what I&rsquo;m going to explain today. Furthermore, this technique was later generalized to detect also other shapes like circles, ellipses etc.&nbsp;<a href="https://en.wikipedia.org/wiki/Generalised_Hough_transform" rel="noopener ugc nofollow" target="_blank">[1]</a>.</p> <h2>The goal of the method, image preparation</h2> <p>To use Hough Lines Transform, processed image should be binary. But we would like to search for the straight lines on an original, color image. Therefore, probably the most common solution is to firstly grayscale the image and then to detect edges. Such mask of edges can be then fetched to the Hough Lines method which should output a set of straight lines found on an image.</p> <p><a href="https://medium.com/@tomasz.kacmajor/hough-lines-transform-explained-645feda072ab"><strong>Read More</strong></a></p>