selectLabelsByLabelName
Description
selects labels specified by gtLabel
= selectLabelsByLabelName(gTruth
,labelNames
)labelNames
from a groundTruthMultisignal
object, gTruth
. The function returns
a corresponding groundTruthMultisignal
object,
gtLabel
, that contains only the selected labels. If
gTruth
is a vector of groundTruthMultisignal
objects, then the function returns a vector of corresponding
groundTruthMultisignal
objects that contain only the selected
labels.
Examples
Input Arguments
Output Arguments
Limitations
Selecting pixel labels by label name is not supported. However, you can select all labels of type pixel. Use the
selectLabelsByLabelType
function, specifying the label type as alabelType.PixelLabel
enumeration.Selecting sublabels by label name is not supported.
Version History
Introduced in R2020a