Thanks again Logic,
I am running a earlier version of VB, so I could not use your script. However, I managed making a script of my own. I thought that the circular line detection had to use grayscale images, but since it doesn't, the part about the black circles is no longer a problem. -Thanks for that tip!
Anyway, the center of the circle reported by the circle detection tool is not very much more accurate than center of mass.
In the attached image, the red dot (zoom the image if you do not see it) represents the center found using center of mass, and the cyan/blue dot represents the center found using circle detection.
Any ideas? -Do I have to do some post-processing to get a more accurate center using circle detection?
-Thanks!
Torbjørn