Update track score by track merging
Create a score logic using the default confirmation and deletion thresholds. Initialize the score logic.
scoreLogic1 = trackScoreLogic; volume = 1.3; % Volume of a sensor detection bin beta1 = 1e-5; % New target rate in a unit volume init(scoreLogic1,volume,beta1); disp(['Score and MaxScore of ScoreLogic1: ', num2str(output(scoreLogic1))])
Score and MaxScore of ScoreLogic1: 2.4596 2.4596
Create a copy of the score logic.
scoreLogic2 = clone(scoreLogic1);
Specify the likelihood that the detection is assigned to the track, the probability of detection (
pd) and the probability of false alarm (
pfa). Update the second score logic with a hit.
likelihood = 0.05 + 0.05*rand(1); pd = 0.8; pfa = 1e-3; hit(scoreLogic2,volume,likelihood,pd,pfa) disp(['Score and MaxScore of ScoreLogic2: ', num2str(output(scoreLogic2))])
Score and MaxScore of ScoreLogic2: 7.0068 7.0068
Merge the score of
scoreLogic1 with the score of
scoreLogic2. The score of
scoreLogic2 is larger, therefore the merged score of
mergeScores(scoreLogic1,scoreLogic2) disp(['Score and MaxScore of merged ScoreLogic1: ', num2str(output(scoreLogic1))])
Score and MaxScore of merged ScoreLogic1: 7.0173 7.0173