Ask Your Question
0

Line detection [closed]

asked 2017-10-03 01:17:11 -0500

Can Hough transform detect the start and end points of the straight line on the image? I see, it outputs only 2 parameters: r and theta.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by ya_ocv_user
close date 2017-10-18 12:02:18.365236

2 answers

Sort by ยป oldest newest most voted
2

answered 2017-10-03 01:54:03 -0500

VxW gravatar image

you can try the Probabilistic Hough Transform

http://docs.opencv.org/3.0-beta/doc/p...

which returns the lines

edit flag offensive delete link more

Comments

It does not solve problem of start and end point ?

LBerger gravatar imageLBerger ( 2017-10-03 01:56:29 -0500 )edit

The Probabilistic Hough Line Transform A more efficient implementation of the Hough Line Transform. It gives as output the extremes of the detected lines (x0,y0,x1,y1) Thanks. I have missed it. Looked only at the Standard Hough Transform.

ya_ocv_user gravatar imageya_ocv_user ( 2017-10-03 02:11:00 -0500 )edit
0

answered 2017-10-03 01:24:05 -0500

LBerger gravatar image
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-10-03 01:17:11 -0500

Seen: 280 times

Last updated: Oct 03 '17