Optimal subpattern assignment (OSPA) metric
trackOSPAMetric
System object™ computes the optimal subpattern assignment metric between a set of tracks and
the known truths. An OSPA metric contains three components:
Localization error component — Accounts for state estimation errors between assigned tracks and truths
Cardinality error component— Accounts for the number of unassigned tracks and truths
Labelling error component — Accounts for the error of incorrect assignment
For more details, see OSPA Metric and [2].
To use trackOSPAMetric
:
Create the trackOSPAMetric
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?.
creates a
OSPAMetric
= trackOSPAMetrictrackOSPAMetric
System object, OSPAMetric
, with default property values.
sets properties for the OSPAMetric
= trackOSPAMetric(Name,Value
)trackOSPAMetric
object using one or more
name-value pairs. For example, OSPAMetric =
trackOSPAMetric('CutoffDistance',5)
creates a trackOSPAMetric
object with the cut off distance equal to 5. Enclose property names in single
quotes.
allows you to specify the known assignment between tracks and truths at the current time
step. To use this syntax, specify the OSPA
= OSPAMetric(tracks
,truths
,assignment
)HasAssignmentInput
property as
true
.
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)
[1] Schuhmacher, B., B. -T. Vo, and B. -N. Vo. "A Consistent Metric for Performance Evaluation of Multi-Object Filters." IEEE Transactions on Signal Processing, Vol, 56, No, 8, pp. 3447–3457, 2008.
[2] Ristic, B., B. -N. Vo, D. Clark, and B. -T. Vo. "A Metric for Performance Evaluation of Multi-Target Tracking Algorithms." IEEE Transactions on Signal Processing, Vol, 59, No, 7, pp. 3452–3457, 2011.