Research Article

A High-Capacity Image Steganography Method Using Chaotic Particle Swarm Optimization

Algorithm 1

Pseudocode of the proposed CPSO algorithm.
Input: Number of particles (), maximum iterations
Output: Global best particles position ()
(1)for to //Initialize particles velocity and position
(2)  
(3)  
(4)   //Initialize particles local best position
(5)   //Initialize particles global best position
(6)end for
(7)do
(8)for to
(9)  if
(10)    //Update local best position
(11)  end if
(12)  if
(13)    //Update global best position
(14)  end if
(15)end for
(16)for to
(17)  Update using equation (6)
(18)  Update using equation (2)
(19)end for
(20)while (Maximum iterations or stopping criterion is not attained)