Skip to main content
. 2019 Jun 26;19(13):2842. doi: 10.3390/s19132842
Algorithm 1 Labelling Particles and Targets
Initialization: the initialization particles are labelled with zeros, and maximum label is set to r=0.
Prediction: labels of the prediction particles are lk|k1i,i=1,,vk|k1, where lk|k1i=lk1|k1i,i=1,,vk1|k1 and lk|k1i=0,i=vk1|k1+1,,vk|k1.
Correction: labels of the posterior particles are lk|ki=lk|k1i,i=1,,vk|k, and the resampling technique doesn’t change the labels of particles.
Trajectory extraction: N^k|k targets are extracted from the posterior PHD. The label of target xk(n) can be determined by argmaxl|{lk|ki|lk|ki=l,xk|kixk(n),i=1,,vk|k}|,n=1,,N^k|k, where |X| represents the cardinality of set X.
  For each target xk(n), if its label is zero, then r=r+1, set its label to r, and set lk|ki|lk|ki=0,xk|kixk(n),i=1,,vk|k to r.
  If there are multiple targets with the same label l, the optimal successor can be selected by Equation (10), and for other target similar operation will be performed like the scene that the label of target is zero.