accurate detection of a line using hough transform

asked 2014-02-13 20:39:51 -0500

keowang gravatar image

I have downloaded the hough transform code here to try to detect the lines the code works but could somebody please answer me 1) For each single line, why does it produce many duplicate lines 2) I understand I can hack on the algorithm by changing the threshold values, however, if I increased it some lines became undetectable so how can I strike a balance out of it 3) can I manipulate the minLinLength and maxLineGap of the function to have it produce a better performance? (The first one shows the detection result while the second shows the original line)

detectionoriginal line

Thanks a lot.

edit retag flag offensive close merge delete