Skip to main content
. 2018 Jun 26;18(7):2046. doi: 10.3390/s18072046
Algorithm 1. Proposed tracking algorithm.
Require: An input image sequence and object target locations P(x1,y1,w1,h1) in the first frame.
 Ensure: Target object locations in the subsequent frames P(xt,yt,wt,ht), where t=2,3,…
  repeat
  • //Translation calculation

  • Calculate the correlation response map Rz using (6) and estimate the target

  • object location (xt,yt) by finding the maximum response position from Rz;

  • //Scale estimation

  • Construct target feature pyramid around the position (xt,yt) and extract the HOG

  • features after resizing the image patch with same size and calculate the scale

  • correlation response map Rs using (6);

  • Determine the optimal scale s using (12);

  • Calculate the PSR score using (8);

  • Compute dynamic learning rate nt using (9) and (10);

  • //Translation correlation model update

  • if PSR>T1 then

  • Update the translation model parameters using (11);

  • End

  • //Scale correlation model update

  • if max(Rs)>T2 then

  • Update the scale model parameters using (13);

  • End


Until end of the image sequences;