# detecting cirlcles and verifying it

Hi,after detecting circles with houghcircle ,i need to verify if all circles (wanted to be detected) is detected as a first solution is to add reference image which contained all circles must be detected and try to color the circle detected in the reference image i asked if it’s possible to do this with opencv.If,yes i need some keywords or helpful tutoriel If,no there is other solution and thanks to reply

edit retag close merge delete

3

http://answers.opencv.org/question/91... --> Like said in your previous topic YES this is possible but there is NO exact tutorial doing what you prefer. Steps you could follow are

• Create a mask with circles that need to be detected as white blobs
• Perform hough circles on the input image
• Fill the found circles in a new binary mask
• Now AND both the result circle binary mask and the original mask
• Retrieve colors and start painting accordingly

Good luck!

( 2016-04-01 02:02:10 -0500 )edit
3

We already told you yesterday that this is feasible, and quite easy following tutorials (already linked by @StevenPuttemans ). Please, take a day or two to read, understand, and try yourself. After that, if you still have problems, come back with a detailed question: images, code, what you have tried, where you have failed, ideas, etc. Once again, we won't solve your graduation project for you.

( 2016-04-01 02:06:31 -0500 )edit

Sort by » oldest newest most voted

how i can create a mask with circles that need to be detecteded as white blobs because i can't access to the coordinates of my circles

more

Circles can be drawn using the drawContour functionality around a set of points. How are your circles stored for now?

( 2016-05-17 06:51:27 -0500 )edit
1

@StevenPuttemans - he's trying to follow your previous advice (first point in fact). So, I guess he's trying to create the ground truth data, but he doesn't even know what is ground truth data if he's willing to do it automatically... @mima - photoshop or any other image editor will be probably the faster and easy way to create such mask

( 2016-05-17 07:18:55 -0500 )edit

the circles are dectecting with houghcircle.I need to create image to color the cirle detected with a color and the circles which are not detected with other color. i succeed to create mask with the circles detected and i made it as filled circles.But my problem is how create mask with all circles in the input image detected or not detectes.Please i need a help

( 2016-05-23 00:48:22 -0500 )edit

Official site

GitHub

Wiki

Documentation