Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ Fit Circle 2

Hi, I am experimenting with the "IMAQ Fit Circle 2" function for finding spherical particles in my microscope pictures. But I have sometimes problems with small particles grouping around big ones (moisture or triboelectric effects). The circle fit function gives me in that case many overlapping circles. I can avoid this problem to a certain degree by using watershed segmentation. So far, so good!

If I would be able to define the minimum distance between a circle center and the circumference of another circle my problem is maybe solved to a degree. Does someone know an example for "IMAQ Fit Circle 3" Smiley Happy

 

I found something about a "Hough circle fit" for openCV (plus a wrapper) but this is a little complicated and the result in imageJ (using the same algorithm) is also not very impressive in comparison to the IMAQ function.

 

Just to explain myself, this is just some experimenting and by that not very important. I find I added a ZIP file with some theoretically drawings from powerpoint and some screenshots from the "Vision Assistant" (yes I know - bad style to use a "wizard" but it is fast for playing around! Smiley Embarassed)

 

Maybe someone has a clue or tip for me?

 

Best regards,

 

Paul

0 Kudos
Message 1 of 3
(5,554 Views)

Hello,

 

maybe this will help you with your project:

 

https://decibel.ni.com/content/blogs/kl3m3n/2014/05/08/detect-hough-circles-in-labview-using-opencv

 

You can specify the minimum distance between the detected circle centers for a valid fit. You can also specify the minimum and maximum radius for the valid fit.

 

Hope this helps a bit.

 

Best regards,

K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
0 Kudos
Message 2 of 3
(5,508 Views)

is fitting 2 merged circle what u are looking for?

0 Kudos
Message 3 of 3
(5,505 Views)