Effacer les filtres
Effacer les filtres

How to determine length of extracted line segments

2 vues (au cours des 30 derniers jours)
Victoria
Victoria le 2 Juil 2018
Commenté : jonas le 2 Juil 2018
Hello. I have extracted line segments using Hough's Transform. I would like to now determine the length of these lines, but I'm not sure how to do it. I have attached a picture of how the lines look now. Thank you.
  3 commentaires
Victoria
Victoria le 2 Juil 2018
I don't... Is there a way to automatically find the coordinates?
jonas
jonas le 2 Juil 2018
Surely. Can you post the image and the code?
You may be able to find the line segments by
H=get(gca, 'children')
Their coordinates should be in xdata and ydata properties

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by