summarize
Summarize instance segmentation performance metrics at data set and class level
Since R2024b
Syntax
Description
[
summarizes the object detection evaluation metrics across all classes of the data
set summaryDataset
,summaryClass
] = summarize(metrics
)summaryDataset
, and for each class in the data set
summaryClass
.
[
specifies the metrics category to return in the metrics summary.summaryDataset
,summaryClass
] = summarize(metrics
,MetricName=metricName
)
Input Arguments
instance segmentation performance metrics, specified as an instanceSegmentationMetrics
object.
Metrics category to return in the metrics summary, specified as one of these options.
"all"
– Returns the average precision and mean average precision metric values, aggregated over each overlap threshold, along with all additional metrics."AP"
– Returns only the average precision across all classes at each overlap threshold as a numThresh-by-1 numeric vector, and the mean average precision (mAP) computed across all overlap thresholds. numThresh is the number of overlap thresholds specified by theOverlapThreshold
property of theinstanceSegmentationMetrics
object."LAMR"
– Returns only the log-average miss rate (LAMR) computed at each overlap threshold as a numThresh-by-1 numeric vector, and the mean of the log-average miss rate (mLAMR) computed across all overlap thresholds."AOS"
– Returns only the average orientation similarity (AOS) computed at each overlap threshold as a numThresh-by-1 array, and the mean of the average orientation similarity (mAOS) computed across all overlap thresholds.To specify
"AOS"
as the metric to return, your input data must contain rotated bounding boxes."AOS"
– Return only the average orientation similarity (AOS) computed at each overlap threshold as a numThresh-by-1 array, and the mean of the average orientation (mAOS) similarity computed across all overlap thresholds as a numeric scalar.To specify
"AOS"
as the metric to return, your input data must contain rotated bounding boxes.
Output Arguments
Metric summary over the data set, returned as a 1-by-numMetrics table, where numMetrics is the number of specified metrics.
The columns of the table depend on the value of the
metricName
argument.
"all"
—NumObjects
mAPOverlapAvg
mAP
mLAMROverlapAvg
mLAMR
mAOSOverlapAvg
mAOS
Number of object instances in the ground truth data, returned as a positive integer.
Mean average precision (mAP) averaged over all thresholds specified by the
OverlapThreshold
property ofmetrics
, returned as a numeric scalar.Mean average precision (mAP), or average precision averaged over all classes, computed at all overlap thresholds specified by the
OverlapThreshold
property ofmetrics
, returned as a numThresh-by-1 numeric vector. numThresh is the number of overlap thresholds.Mean log-average miss rate (mLAMR) averaged over all classes and all overlap thresholds specified by the
OverlapThreshold
property ofmetrics
, returned as a numeric scalar.Mean log-average miss rate (mLAMR) averaged over all classes, computed at all overlap thresholds, specified by the
OverlapThreshold
property ofmetrics
, returned as a numThresh-by-1 numeric vector.Mean average orientation similarity (mAOS) averaged over all classes, and averaged over all overlap thresholds specified by the
OverlapThreshold
property ofmetrics
, returned as a numeric scalar.Mean average orientation similarity (mAOS) averaged over all classes, computed at all overlap thresholds specified by the
OverlapThreshold
property ofmetrics
, returned as a numThresh-by-1 numeric vector.To return the
"mAOSOverlapAvg"
and"mAOS"
columns, your input data must contain rotated bounding boxes."AP"
—NumObjects
mAPOverlapAvg
mAP
Number of object instances in the ground truth data, returned as a positive integer.
Mean average precision (mAP) averaged over all thresholds specified by the
OverlapThreshold
property ofmetrics
, returned as a numeric scalar.Mean average precision (mAP), or average precision averaged over all classes, computed at all overlap thresholds specified by the
OverlapThreshold
property ofmetrics
, returned as a numThresh-by-1 numeric vector. numThresh is the number of overlap thresholds."LAMR"
—mLAMROverlapAvg
mLAMR
Mean log-average miss rate (mLAMR) averaged over all classes and all overlap thresholds specified by the
OverlapThreshold
property ofmetrics
, returned as a positive scalar.Mean log-average miss rate (mLAMR) averaged over all classes, computed at all overlap thresholds, specified by the
OverlapThreshold
property ofmetrics
, returned as a numThresh-by-1 numeric vector."AOS"
—mAOSOverlapAvg
mAOS
Mean average orientation similarity (mAOS) averaged over all classes and all overlap thresholds specified by the
OverlapThreshold
property ofmetrics
, returned as a numeric scalar.Mean average orientation similarity (mAOS) averaged over all classes, computed at all overlap thresholds specified by the
OverlapThreshold
property ofmetrics
, returned as a numThresh-by-1 numeric vector.
Metrics summary per class, returned as a numClasses-by-numMetrics table, where numClasses is the number of classes, and numMetrics is the number of specified metrics.
The columns of the table depend on the value of the
metricName
argument.
"all"
—NumObjects
APOverlapAvg
AP
LAMROverlapAvg
LAMR
AOSOverlapAvg
AOS
Number of object instances in the ground truth data for each class, returned as a positive integer.
Average precision (AP) for each class averaged over all thresholds specified by the
OverlapThreshold
property ofmetrics
, returned as a numeric scalar.Average precision (AP) for each class, computed at all overlap thresholds specified by the
OverlapThreshold
property ofmetrics
, returned as a numThresh-by-1 numeric vector. numThresh is the number of overlap thresholds.Log-average miss rate (LAMR) for each class, averaged over all overlap thresholds specified by the
OverlapThreshold
property ofmetrics
.Log-average miss rate (LAMR) for each class, computed at all overlap thresholds specified by the
OverlapThreshold
property ofmetrics
, returned as a numThresh-by-1 numeric vector.Average orientation similarity (AOS) for each class, averaged over all overlap thresholds specified by the
OverlapThreshold
property ofmetrics
, returned as a numeric scalar.Average orientation similarity (AOS) for each class, computed at all overlap thresholds specified by the
OverlapThreshold
property ofmetrics
, returned as a numThresh-by-1 numeric vector.To return the
"AOSOverlapAvg"
and"AOS"
columns, your input data must contain rotated bounding boxes."AP"
—NumObjects
APOverlapAvg
AP
Number of object instances in the ground truth data for each class, returned as a positive integer.
Average precision (AP) for each class averaged over all thresholds specified by the
OverlapThreshold
property ofmetrics
, returned as a numeric scalar.Average precision (AP) for each class, computed at all overlap thresholds specified by the
OverlapThreshold
property ofmetrics
, returned as a numThresh-by-1 numeric vector. numThresh is the number of overlap thresholds."LAMR"
—LAMROverlapAvg
LAMR
Log-average miss rate (LAMR) for each class, averaged over all overlap thresholds specified by the
OverlapThreshold
property ofmetrics
.Log-average miss rate (LAMR) for each class, computed at all overlap thresholds specified by the
OverlapThreshold
property ofmetrics
, returned as a numThresh-by-1 numeric vector."AOS"
—AOSOverlapAvg
AOS
Average orientation similarity (AOS) for each class, averaged over all overlap thresholds specified by the
OverlapThreshold
property ofmetrics
, returned as a numeric scalar.Average orientation similarity (AOS) for each class, computed at all overlap thresholds specified by the
OverlapThreshold
property ofmetrics
, returned as a numThresh-by-1 numeric vector.
Version History
Introduced in R2024b
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)