Research Article

An Improved Multithreshold Segmentation Algorithm Based on Graph Cuts Applicable for Irregular Image

Algorithm 1

Algorithm ABC.

Input: MCN Number of iterations for optimization,
   SN Number of food sources equal to the number of employed bees.
(1) Initialize parameters and generate initial position.
(2) Find the initial source of nectar
(3) While Stopping criteria not met do
(4)  calculate the number of food sources by the onlookers
(5)  if the food sources is selected
(6)    the employed bees remember the location of the food sources
(7)  else
(8)   the employed bees become scout bees and search near the original food sources
(9)  end if
(10)  end while
Output: The location of the food sources.