find whole lines, not line segments, after hough transform

4 vues (au cours des 30 derniers jours)
pasta pontikaki
pasta pontikaki le 19 Juil 2019
Commenté : Matt J le 20 Juil 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

Réponse acceptée

Matt J
Matt J le 19 Juil 2019
Modifié(e) : Matt J le 19 Juil 2019
If you have the Computer Vision Toolbox, you can try RANSAC, as in this example
to fit the points generated by houghlines.
  2 commentaires
pasta pontikaki
pasta pontikaki le 20 Juil 2019
Thank you very much for your answer.
Regretfully i dont have CVT, do you have any other proposal to help me?
Matt J
Matt J le 20 Juil 2019
Increase the RhoResolution parameter in hough.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by