Ask Your Question
0

detecting cirlcles and verifying it

asked 2016-03-31 18:20:26 -0500

mima gravatar image

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 flag offensive close merge delete

Comments

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!

StevenPuttemans gravatar imageStevenPuttemans ( 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.

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

1 answer

Sort by » oldest newest most voted
0

answered 2016-05-17 04:49:56 -0500

mima gravatar image

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

edit flag offensive delete link more

Comments

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

StevenPuttemans gravatar imageStevenPuttemans ( 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

LorenaGdL gravatar imageLorenaGdL ( 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

mima gravatar imagemima ( 2016-05-23 00:48:22 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-03-31 18:20:26 -0500

Seen: 191 times

Last updated: May 17 '16