Multi-target tracking "assignDetectionsToTracks" function has unexpected results?
이전 댓글 표시
When I use the "assignDetectionsToTracks" function, the 5th (row) tracking is associated with the (1)th col detection, and the threshold(costOfNonAssignment=1) I set is 1, and there should be no correlation. Why?
cost = [2.62407,1.93346,4.28524,0.0126375;
1.34658,3.33612,0.769382,3.78107;
2.04141,0.012594,3.98619,1.92012;
3.35982,2.04044,5.14111,1.01901;
1.59666,3.05409,2.13898,2.69844;
4.54989,6.35886,3.17712,6.65899];
costOfNonAssignment = 1;
[assignment,unassignedTracks,unassignedDetections] = ...
assignDetectionsToTracks(cost,costOfNonAssignment)
assignment =
4×2 uint32 matrix
5 1
3 2
2 3
1 4
unassignedTracks =
2×1 uint32 column vector
4
6
unassignedDetections =
0×1 empty uint32 column vector
As can be seen from the result assignment, the fifth track is associated with the first detection data, and the cost between them is 1.59666, and the threshold I set is 1, the cost is greater than the threshold, why the fifth track Related to the first test? Shouldn’t it belong to unassignedTracks?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Track Objects and Estimate Motion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!