I have an array with 600x600 integer values. The values represents a circle. For example: 0 is outside, >=1 is inside the circle. Here is a short example:
0000110000000
0001111000000
0011111200000
0112112110000
1111111111000
0111411110000
0011131100000
0000110000000
0000000000000
0000000000000
The position and the size of the circle in the array differs. Now, I am looking for a fast algorithm to find the center and the radius of the circle. Fast because I have to process many arrays.