I have an image that has pixelated circles in it (a cross section of wires). I want to identify the wires, their location and count them.
The circles never overlap and the wires are all within a 95% radius. However the spacing might not be exact as there can be gaps between the wires.
What is a good way to find the geometric mean of the group of pixels that represent a wire?
I did try using a tophat kernel and threshold to emphasize the centers, but I end up with a few pixels and no center pixel. I need to identify the center and end up with only one pixel which is difficult to do with thresholding since the pixel values differ in brightness.