How to determine length of extracted line segments

1 回表示 (過去 30 日間)
Victoria
Victoria 2018 年 7 月 2 日
コメント済み: jonas 2018 年 7 月 2 日
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 件のコメント
Victoria
Victoria 2018 年 7 月 2 日
I don't... Is there a way to automatically find the coordinates?
jonas
jonas 2018 年 7 月 2 日
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

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeComputer Vision with Simulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by