Research Article

A Method for Estimating View Transformations from Image Correspondences Based on the Harmony Search Algorithm

Procedure 1

Step  1.  Set the parameters HMS, HMCR, PAR, BW and NI.
Step  2. Initialize the HM and calculate the objective function value of each harmony vector.
Step  3. Improvise a new harmony as follows:
    for ( = 1 to ) do
     if ( < HMCR) then
      Select randomly a number where
       =
      if ( < PAR) then
        where
      end if
      if
       
      end if
      if
       
      end if
     else
      , where
     end if
    end for
Step  4. Update the HM as if
Step  5. If NI is completed, the best harmony vector according to its fitness value in the HM is
    returned; otherwise go back to Step  3.