find whole lines, not line segments, after hough transform

조회 수: 4 (최근 30일)
pasta pontikaki
pasta pontikaki 2019년 7월 19일
댓글: Matt J 2019년 7월 20일
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

채택된 답변

Matt J
Matt J 2019년 7월 19일
편집: Matt J 2019년 7월 19일
If you have the Computer Vision Toolbox, you can try RANSAC, as in this example
to fit the points generated by houghlines.
  댓글 수: 2
pasta pontikaki
pasta pontikaki 2019년 7월 20일
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 2019년 7월 20일
Increase the RhoResolution parameter in hough.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by