assignmunkres
Munkres global nearest neighbor assignment algorithm
描述
[
返回一张表assignments
,unassignedrows
,unassignedcolumns
] = assignmunkres(Costmatrix
,costofnononsignment
)assignments
使用Munkres算法检测到轨道的检测。Munkres算法获得了全局最近邻居(GNN)分配问题的最佳解决方案。最佳解决方案可最大程度地减少任务的总成本。
每个潜在分配的成本都包含在成本矩阵中,Costmatrix
。Each matrix entry represents the cost of a possible assignments. Matrix rows represent tracks and columns represent detections. All possible assignments are represented in the cost matrix. The lower the cost, the more likely the assignment is to be made. Each track can be assigned to at most one detection and each detection can be assigned to at most one track. If the number of rows is greater than the number of columns, some tracks are unassigned. If the number of columns is greater than the number of rows, some detections are unassigned. You can set an entry ofCostmatrix
toinf
禁止任务。
costofnononsignment
表示未分配的轨道或检测的成本。更高的值增加了每个现有对象分配的可能性。
The function returns a list of unassigned tracks,unassignedrows
, and a list of unassigned detections,unassignedcolumns
Examples
Input Arguments
Output Arguments
参考
[1] Samuel S. Blackman和Popoli,R。Design and Analysis of Modern Tracking Systems。Artech House:马萨诸塞州诺伍德。1999。