MATLAB Answers


find whole lines, not line segments, after hough transform

Asked by pasta pontikaki on 19 Jul 2019
Latest activity Commented on by Matt J
on 20 Jul 2019
Hi all, i performed hough transform and then houghlines to detect the lines of my image.
As you can see, the lines are segmented. The starting points of every line is painted with green and the ending point with yellow.
In the documentation of houghlines says that this function create segments. How can i detect the hole line, not segmented


Sign in to comment.

1 Answer

Answer by Matt J
on 19 Jul 2019
Edited by Matt J
on 19 Jul 2019
 Accepted Answer

If you have the Computer Vision Toolbox, you can try RANSAC, as in this example
to fit the points generated by houghlines.


Thank you very much for your answer.
Regretfully i dont have CVT, do you have any other proposal to help me?
Increase the RhoResolution parameter in hough.

Sign in to comment.