Skip to main content
. 2019 Jul 31;19(15):3371. doi: 10.3390/s19153371
Algorithm 1. Matching cascade.
Input: Track indices T={1,,N}, detection indices D={1,,M}, maximum age Amax
1: Compute cost matrix C=[ci,j] using Equation (1)
2: Compute gate matrix B=[bi,j] using Equation (2)
3: Initialize the set of matches
4: Initialize the set of unmatched detections UD
5: for n{1, , Amax} do
6:  Select tracks by age Tn{iT | ai=n}
7: [xi,j] ← min cost matching C, Tn, U
8:    {(i,j) | bi,j. xi,j>0}
9: UU  {j | Σi bi,j. xi,j>0}
10: end for
11: return ,U