multi-凯发k8网页登录
multi-target tracker using gnn assignment
since r2021a
description
the radartracker
system object™ initializes, confirms, predicts, corrects, and deletes the tracks of moving
objects. inputs to the radar tracker are detection reports generated as an object by radar sensors. the radar tracker accepts detections from
multiple sensors and assigns them to tracks using a global nearest neighbor (gnn) criterion.
each detection is assigned to a separate track. if the detection cannot be assigned to any
track, based on the assignmentthreshold
property, the tracker creates a
new track. the tracks are returned in a structure array.
a new track starts in a tentative state. if enough detections are
assigned to a tentative track, its status changes to confirmed. if the
detection is a known classification (the objectclassid
field of the
returned track is nonzero), that track can be confirmed immediately. for details on the radar
tracker properties used to confirm tracks, see algorithms.
when a track is confirmed, the radar tracker considers that track to represent a physical object. if detections are not added to the track within a specifiable number of updates, the track is deleted.
the tracker also estimates the state vector and state vector covariance matrix for each track using a kalman filter. these state vectors are used to predict a track's location in each frame and determine the likelihood of each detection being assigned to each track.
to track objects using a radar tracker:
create the
radartracker
object and set its properties.call the object with arguments, as if it were a function.
to learn more about how system objects work, see what are system objects?
creation
description
creates a
tracker
= radartrackerradartracker
system object with default property values.
sets properties for the radar tracker using one or more name-value pairs. for example,
tracker
= radartracker(name,value
)radartracker('filterinitializationfcn',@initcvukf,'maxnumtracks',100)
creates a radar tracker that uses a constant-velocity, unscented kalman filter and
maintains a maximum of 100 tracks. enclose each property name in quotes.
properties
usage
syntax
description
creates, updates, and deletes tracks in the radar tracker and returns details about the
confirmed tracks. updates are based on the specified list of
confirmedtracks
= tracker(detections
,time
)detections
, and all tracks are updated to the specified
time
. each element in the returned
confirmedtracks
corresponds to a single track.
[
also returns confirmedtracks
,tentativetracks
] = tracker(detections
,time
)tentativetracks
containing details about the tentative
tracks.
[
also returns confirmedtracks
,tentativetracks
,alltracks
] = tracker(detections
,time
)alltracks
containing details about all the confirmed and
tentative tracks. the tracks are returned in the order by which the tracker internally
maintains them. you can use this output to help you calculate the cost matrix, an optional
input argument.
[___] = tracker(
specifies a cost matrix, returning any of the outputs from preceding syntaxes.detections
,time
,costmatrix
)
to specify a cost matrix, set the hascostmatrixinput
property of
the tracker to true
.
[___] = tracker(___,
also specifies a list of expected detectable tracks given by
detectabletrackids
)detectabletrackids
. this argument can be used with any of the
previous input syntaxes.
to enable this syntax, set the hasdetectabletrackidsinput
property to true
.
input arguments
output arguments
object functions
to use an object function, specify the
system object as the first input argument. for
example, to release system resources of a system object named obj
, use
this syntax:
release(obj)
examples
algorithms
when you pass detections into a radar tracker, the system object:
attempts to assign the input detections to existing tracks, based on the
assignmentthreshold
property of the multi-object tracker.creates new tracks from unassigned detections.
updates already assigned tracks and possibly confirms them, based on the
confirmationthreshold
property of the tracker.deletes tracks that have no assigned detections, based on the
deletionthreshold
property of the tracker.
extended capabilities
version history
introduced in r2021a
see also
functions
- |
objects
- | | |