Azzera filtri
Azzera filtri

find whole lines, not line segments, after hough transform

1 visualizzazione (ultimi 30 giorni)
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

Risposta accettata

Matt J
Matt J il 19 Lug 2019
Modificato: Matt J il 19 Lug 2019
If you have the Computer Vision Toolbox, you can try RANSAC, as in this example
to fit the points generated by houghlines.
  2 Commenti
pasta pontikaki
pasta pontikaki il 20 Lug 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 il 20 Lug 2019
Increase the RhoResolution parameter in hough.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by