Algorithm 1. Matching cascade. | |
Input: Track indices , detection indices , maximum age | |
1: | Compute cost matrix using Equation (1) |
2: | Compute gate matrix using Equation (2) |
3: | Initialize the set of matches |
4: | Initialize the set of unmatched detections |
5: | for do |
6: | Select tracks by age |
7: | ← min cost matching |
8: | |
9: | |
10: | end for |
11: | return |