Research Article

Single-Dimension Perturbation Glowworm Swarm Optimization Algorithm for Block Motion Estimation

Algorithm 2

Single-dimension perturbation glowworm swarm optimization algorithm (SDGSO).
Step  1. Read the data.
Step  2. Set parameters: , , , , , , .
Step  3. Set the size of block and divide the current frame image into rules of
block.
Step  4. for to do
(4.1) Predict the MV of the current macro block and the center of search window.
(4.2) Generate initial population of glowworms
  (4.3) for each to initializing the luciferin value l(i);
 (4.4)   Set ;
 (4.5) for each ( ) doing
    (4.5.1) for each glowworm i doing
     (4.5.1.1) Form the neighborhood ;
      (4.5.1.2) for each glowworm , computing probability
according
      to the formula (3);
     (4.5.1.3) Select glowworm using ;
     (4.5.1.4) Update glowworm step s with the formula (8);
     (4.5.1.5) Update glowworm position with the formula (2);
     (4.5.1.6) Search the new location by using SDPS;
     (4.5.1.7) Update the luciferin value according to the formula (8);
     (4.5.1.8) Update local-decision domain according to the formula (4);
     (4.5.1.9) if keep unchanged for limt generation then terminating the
iteration;
Step  5. Output MV.