connecting two closest line after perform Houghline operation

asked 2016-11-18 06:45:55 -0600

hriddo gravatar image

updated 2016-11-18 10:32:29 -0600

After using probabilistic houghline operation in an image, i have the information of line's two co-ordinate points. Anyhow, my line is broken, show as a two line, so now i have to connect those line which are broken. Now, how can i do it? I am attaching the image after houghline operation looks like:image description

edit retag flag offensive close merge delete

Comments

Cluster / merge lines:

  • clustering to get all the small lines that should be one big line
  • merge by computing the average line that pass through all the small lines in one cluster maybe?
Eduardo gravatar imageEduardo ( 2016-11-18 08:35:39 -0600 )edit