Introduction - If you have any usage issues, please Google them yourself
The Hough transform and least squares method, to study the experimental data and image processing in the binary edge map method for fitting a straight line. First of all, the use of Hough transform concentration of data points removed or noise interference, and a straight line in the vicinity of different points separated and then, using the straight-line least square method. This method not only solved directly when using the least square method, fitting a straight line susceptible to interference or noise and data points are located in the vicinity of more than a straight line and the two issues can not be fitted while also addressing the direct use of Huo Cardiff transform, the accuracy of fitting straight line segments is not high and the effective range is not easy to control.