How do I access detections assigned to a track by TrackerGNN?

3 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2021 年 10 月 19 日
回答済み: MathWorks Support Team 2021 年 10 月 19 日
I am using "trackerGNN" from the Sensor Fusion and Tracking Toolbox as follows:
 
[confirmedTracks, tentativeTracks, allTracks, analysisInformation] = tracker(detections, T);
I would like to access measurements/detections that have already been assigned to tracks so that I can double check the algorithm's assignments, plot the measurements by track, et cetera. How can I do this?

採用された回答

MathWorks Support Team
MathWorks Support Team 2021 年 10 月 19 日
You can obtain this information by using the output "analysisInformation", which has a property called "Assignments". Hence, "analysisInformation.Assignments" contains the measurements/detections assigned to a track. The format of that field is:
[TrackID DetectionIndex]
The first column is a list of track IDs at the beginning of the step. The second column is the index of the detection that was assigned to this track. For instance, consider the following matrix:
[4 1; 5 3]
This would mean that track 4 was assigned "detections(1)", and track 5 is assigned "detections(3)". Note that the function you are using -- "trackerGNN" -- assigns, at most, a single detection to any track. This is a hard assignment pattern. Other trackers behave differently, so their "analysisInformation" struct will have a slightly different format.

その他の回答 (0 件)

タグ

タグが未入力です。

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by