•Brute force difficult because many spheres, many pixels.
•Assume all spheres same radius; just need sphere centers.
•Iterative method.
–If we knew centers, it would be easy to assign pixels to
clusters.
–If we knew which pixels in each cluster, it would be
easy to find centers.
–So guess centers, assign pixels to clusters, pick
centers for clusters, assign pixels
to clusters, ….
–matlab
–