I want to finding x,y coordinate of a white dot in a black cycle, and store the x,y coordinate in the variable array.

I want to finding x,y coordinate of a white dot in a black cycle, and store the x,y coordinate in the variable array.

you can convolute your image with a kernel that resembles that white dot with the black circle. local maxima in the output will give you the object positions.