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!