trackGOSPAMetric
Description
trackGOSPAMetric
System object™ computes the generalized optimal subpattern assignment metric between a set of
tracks and the known truths.
For more details, see GOSPA Metric and [1].
To compute the generalized subpattern alignment metric:
Create the
trackGOSPAMetric
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
GOSPAMetric
= trackGOSPAMetrictrackGOSPAMetric
System object with default property values.
sets properties for the GOSPAMetric
= trackGOSPAMetric(Name,Value
)trackGOSPAMetric
object using one or more
name-value pairs. For example, GOSPAMetric =
trackGOSPAMetric('CutoffDistance',5)
creates a
trackGOSPAMetric
object with the cutoff distance equal to 5. Enclose
property names in quotes.
Properties
Usage
Syntax
Description
returns the GOSPA metric between the set of tracks and truths, including the switching
penalty. The value of the switching penalty included in the metric depends on the
sGOSPA
= GOSPAMetric(tracks
,truths
)SwitchingPenalty
property. By default, the metric uses the global
nearest neighbor (GNN) assignments at the current and the previous step to decide if the
tracks are switched.
[___] = GOSPAMetric(
allows you the specify the current assignments between tracks and truths used in the
metric evaluation. You can return outputs as any of the previous syntaxes.tracks
,truths
,assignment
)
To use this syntax, set the HasAssignmentInput
property to
true
.
[
also returns the localization component, missed target component, and the false track
component. You can use any of the input combinations in the previous syntaxes.sGOSPA
,GOSPA
,switching
,localization
,missTarget
,falseTrack
] = GOSPAMetric(___)
To use this syntax, set the value of the Alpha
property to
2
.
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
References
[1] Rahmathullash, A. S., A. F. García-Fernández, and L. Svensson. "Generalized Optimal Sub-Pattern Assignment Metric." 20th International Conference on Information Fusion (Fusion), pp. 1–8, 2017.
Extended Capabilities
Version History
Introduced in R2020a
See Also
trackErrorMetrics
| trackOSPAMetric
| trackAssignmentMetrics