straight-line-detection

Horizontal Line detection with OpenCV

烈酒焚心 提交于 2019-12-17 07:07:28
问题 I am trying to find horizontal and vertical lines from an image which came from a "document". The documents are scanned pages from contracts and so the lines look like what you would see in a table or in a contract block. I have been trying OpenCV for the job. The Hough transform implementation in OpenCV seemed useful for the job, but I could not find any combination of parameters that would allow it to cleanly find the vertical and horizontal lines. I tried with and without edge detection.

What is the difference between a Line and an Edge in image detection?

元气小坏坏 提交于 2019-12-04 05:12:13
问题 We have been learning about methods like Sobel and Roberts' convolution matrices to detect edges within images, extending to the Canny method to clear them up. But now, we are learning about 'Line' detection, as opposed to 'Edge' detection - with methods like Hough Transform. Problem is - I've no idea how to even conceptualize the difference between a 'Line' and an 'Edge'. Can someone explain this difference to me without the use of complex mathematical equations etc? 回答1: An edge is a

How to use Haar wavelet to detect LINES on an image?

社会主义新天地 提交于 2019-11-30 13:58:11
So I have an image like this: I want to get something like this (I haven't drawn all lines I want but I hope you can get my idea): I want to use SURF ( (Speeded Up Robust Features) is a robust image descriptor, first presented by Herbert Bay et al. in 2006 ) or something that is based on sums of 2D Haar wavelet responses and makes an efficient use of integral images for finding all straight lines on image. I want to get relative to picture pixel coords start and end points of lines. So on this picture to find all lines between tiles and those 2 black lines on top. Is there any such Code

How to use Haar wavelet to detect LINES on an image?

大憨熊 提交于 2019-11-29 20:56:23
问题 So I have an image like this: I want to get something like this (I haven't drawn all lines I want but I hope you can get my idea): I want to use SURF ( (Speeded Up Robust Features) is a robust image descriptor, first presented by Herbert Bay et al. in 2006 ) or something that is based on sums of 2D Haar wavelet responses and makes an efficient use of integral images for finding all straight lines on image. I want to get relative to picture pixel coords start and end points of lines. So on

Is there any super fast algorithm for finding LINES on picture?

时光怂恿深爱的人放手 提交于 2019-11-27 21:14:07
So I have Image like this (source: de-viz.ru ) I want to get something like this (I hevent drawn all lines I want but I hope you can get my idea) (source: narod.ru ) I need some super fast algorithm for finding all straight lines on it. I want to give to algorithm parameters like min length and max line distortion. I want to get relative to picture pixel coords start and end points of lines. So on this picture to find all lines between tiles and thouse 2 black lines on top. So I need algorithm for super fast finding straight lines of different colors on picture. Is there any such algorithm?

Horizontal Line detection with OpenCV

雨燕双飞 提交于 2019-11-27 03:01:43
I am trying to find horizontal and vertical lines from an image which came from a "document". The documents are scanned pages from contracts and so the lines look like what you would see in a table or in a contract block. I have been trying OpenCV for the job. The Hough transform implementation in OpenCV seemed useful for the job, but I could not find any combination of parameters that would allow it to cleanly find the vertical and horizontal lines. I tried with and without edge detection. No luck. If anyone has done anything similar I'm interested in knowing how. See here an image of my

Is there any super fast algorithm for finding LINES on picture?

99封情书 提交于 2019-11-26 20:35:43
问题 So I have Image like this (source: de-viz.ru) I want to get something like this (I hevent drawn all lines I want but I hope you can get my idea) (source: narod.ru) I need some super fast algorithm for finding all straight lines on it. I want to give to algorithm parameters like min length and max line distortion. I want to get relative to picture pixel coords start and end points of lines. So on this picture to find all lines between tiles and thouse 2 black lines on top. So I need algorithm