I think the function of "assignDet​ectionsToT​racks" has some errors

1 view (last 30 days)
I think the function of "assignDetectionsToTracks" has some errors ,the paraments of"costOfNonAssignment" doesn't work. For example
A = [1 2 ; 2 2];
B = assignDetectionsToTracks(A,1.6);
we konw,the result should be B = [1 1],because onle the A(1,1) <1.6, but the result given by matlab is
B =
2×2 uint32 矩阵
1 1
2 2
Then ,I researched the helps and source code, I think the step of"padded matrix" need to be considered seriously ,for the example ,
A = [ 1 2
2 2]
when we padded it,
A_p = [1 2 1.6 Inf
2 2 Inf 1.6
1.6 Inf 0 0
Inf 1.6 0 0]
then wo should solved the optimize question;
for this example ,min Z = 1 + 2 + 0 + 0 ,A(1,1)A(2,2)A(3,3)A(4,4)is selected, it's right, but our threshold = 1.6, so it's wrong in this perspective,and it shoude be Z1 = 1 + 1.6 + 1.6 + 0,A(1,1)A(2,4)A(3,2)A(4,3) should be selected.Although Z1>Z , it's right.So I think we need to improve it .

Answers (0)

Categories

Find more on Physics in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!