line detection

asked 2015-09-29 21:06:48 -0500

Bloc123 gravatar image

image description

Hello, I was wondering if there was a better, more accurate way for detecting that line in my image above? It can detect it fine there, but sometimes, depending on the threshold value of both he canny and the HoughLines, the line does not come up consistently, I was going to make a loop to test it over several threshold values, but though I would turn to you guys to see if there is a better more accurate way of doing this? Thank you

edit retag flag offensive close merge delete


In this post, the Otsu method is used to get the min and max threshold for Canny.

Eduardo gravatar imageEduardo ( 2015-09-30 03:28:52 -0500 )edit

if you want to extract the horizontal lines you might want to try this approach. it might work in your case as well

theodore gravatar imagetheodore ( 2015-09-30 04:37:56 -0500 )edit