Skip to main content
. 2018 Oct 18;18(10):3513. doi: 10.3390/s18103513
Algorithm 3: Dictionary update.
  for t=t0+1 to the end of the frame sequence
   1. if p(Xtj|Yt,Xt1)>θp
    1-1. add the target descriptor vttg
    and background descriptors vt,(ax,bx)bg to F
   1. else
    1-2. kp=kp+1
  for every k frames
   2. build the new metrics Dw and Cw using the vectors in F
   by structured sparse PCA
   3. update classifier Φ using Dw and Cw
   4. compute Φ(v) for vF
   5. keep the k0 largest target descriptors in F,
   and delete the rest descriptor from F
   6. kp=0
  end