| Require: Grey image | | Ensure: Segmentation result , clustering center vector | | () Initial parameters: , , , , , artificial fish and so on. | | () Initial annealing temperature and | | () Calculate the -means objective function | | () while no convergence or reach do | | () | | () | | () if then | | () , | | () end if | | () if then | | () , | | () else | | () | | () if then | | () , | | () end if | | () end if | | () Record the artificial fish with minimum -means objective function | | () Calculate the best segmentation result according to | | () Process the noise pixels in according to | | () end while | | () | | () return , |
|