05-06-2014 02:46 PM
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"
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! )
Maybe someone has a clue or tip for me?
Best regards,
Paul
05-08-2014 07:53 AM
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
05-08-2014 08:54 AM
is fitting 2 merged circle what u are looking for?