Line detection //contour tracing/plot...pls help needed in matlab
이전 댓글 표시
For the given image the lines are detected using hough transform.What should be done to connect these lines?? Pls help me with tha matlab coding..

답변 (1개)
Image Analyst
2014년 2월 5일
0 개 추천
What does "connect" mean to you? Do you want every single endpoint connected to every other endpoint with a line drawn in the overlay? Or what? Maybe you want edgelinking http://www.csse.uwa.edu.au/~pk/Research/MatlabFns/#edgelink?
댓글 수: 5
Abinaya
2014년 2월 5일
Image Analyst
2014년 2월 5일
So try the link. Basically you have to examine all endpoints and if another endpoint is nearby by not yet connected, you have to check the angle that would be formed by the connecting link and the two existing segments. If the angle is small enough, then make the connection.
Abinaya
2014년 2월 7일
Image Analyst
2014년 2월 7일
Can you mark it as Accepted? You can still come back with questions though.
keagan
2014년 6월 3일
Hello Image Analyst
With regards to line detection for a square, using hough transform, I have detected the lines of the square but I need your help with something. How do I say in matlab code that the 2 lines on the rows is perpedicular and the lines on the columns also are and also to say the angles are 90 degrees at the edges to make it a square.
please advice thanks
카테고리
도움말 센터 및 File Exchange에서 Read, Write, and Modify Image에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!