How to determine length of extracted line segments
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
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 Exchange 中查找有关 Computer Vision with Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!