Research Article

[Retracted] Efficient COVID-19 CT Scan Image Segmentation by Automatic Clustering Algorithm

Algorithm 1

Whale optimization algorithm (WOA) [14].
(1)Input: initialize randomly generated Population (Pi) in search space, i:  = 1, 2, …, n
(2)Output: (global position of best whale)
(3)while (iteration < MaxIteration) do
(4)Compute the fitness of each whale and position of prey ()
(5) for each whale do
(6)   Update , p, ,
(7)   check ()
(8)   if |A| < 1
(9)   Update the whale’s positions using encircling phase
(10)   else if |A| ≥ 1
(11)   Compute () and update the whale’s position under exploration phase
(12)   end if
(13)   otherwise ()
(14)   update the whale’s positions under spiral phase
(15)   end step 8
(16)  end step 5
(17) Limit the boundary of whales
(18) compute fitness of each whale and prey ()
(19) next iteration
(20) end step 3
(21) Return the optimized solution