Skip to main content
. 2017 Mar 4;17(3):512. doi: 10.3390/s17030512
Algorithm 1 Proposed Tracking Algorithm
  •   1:

    Initialize the model coefficients α^ and the target appearance x with the bounding box B1 given in the 1-st frame.

  •   2:

    for i = 2 to end of the sequence do

  •   3:

     Sampling image patches zs in different scale sS

  •   4:

    for each scale in sinS do

  •   5:

      Calculate the response map Risn=F1(k^xz·α^)

  •   6:

      p(oi|sin)max(Risn)

  •   7:

      p(sin|oi)p(o|sin)×p(sin|si1)p(si1|oi1)dsi1

  •   8:

    end for

  •   9:

    s=argmaxsin(p(sin))

  • 10:

     calculate the PSR(i) by Equation 12 in the most likely scale s

  • 11:

    if PSR(i)>Tu then

  • 12:

      update the model coefficient α^ and x

  • 13:

    end if

  • 14:

    if PSR(i)>Td then

  • 15:

      target position pi=argmax(Ris)

  • 16:

      target scale si=s

  • 17:

    else

  • 18:

      target position pi=pi1

  • 19:

      target scale si=si1

  • 20:

    end if

  • 21:

    end for