Is there a way to detect partial/irrgular circles grid with openCV using Python?

asked 2014-08-22 15:03:28 -0500

yanglited gravatar image

updated 2014-08-27 08:45:51 -0500

Hello, my problem is that I need to detect an irregular circles grid. For example, first column 7 circles, second column 11 circles, third column 8 column. And sometimes my circles' neighboring circle is two steps away. Thanks a lot in advance

image description

edit retag flag offensive close merge delete

Comments

Please post a sample image to help us understand the problem better. Thanks.

rwong gravatar imagerwong ( 2014-08-23 20:03:19 -0500 )edit
1

Your first column has 3 dots and the second one also, you got me confused here ...

StevenPuttemans gravatar imageStevenPuttemans ( 2014-08-27 09:43:08 -0500 )edit

Rotating the image by 45 degrees and then looking at the horizontal and vertical projection profile (simply row sums and column sums) should be sufficient.

rwong gravatar imagerwong ( 2014-08-27 20:05:05 -0500 )edit

You lost me even more ... care to explain it in English?

StevenPuttemans gravatar imageStevenPuttemans ( 2014-08-28 04:15:06 -0500 )edit