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