Create a label definition creator object from the label definitions table.
ldc = labelDefinitionCreator(ld.labelDefs)
ldc =
labelDefinitionCreator contains the following labels:
Vehicle with 0 sublabels and 3 attributes and belongs to None group. (info)
Pedestrian with 0 sublabels and 0 attributes and belongs to None group. (info)
LaneMarker with 0 sublabels and 2 attributes and belongs to None group. (info)
TrafficLight with 1 sublabels and 0 attributes and belongs to None group. (info)
For more details about attributes and sublabels, use the info method.
Remove the label "Vehicle" from the label definition creator object.
removeLabel(ldc,'Vehicle')
Display the details of the label definition creator object to confirm that "Vehicle" is removed from the label definitions.
ldc
ldc =
labelDefinitionCreator contains the following labels:
Pedestrian with 0 sublabels and 0 attributes and belongs to None group. (info)
LaneMarker with 0 sublabels and 2 attributes and belongs to None group. (info)
TrafficLight with 1 sublabels and 0 attributes and belongs to None group. (info)
For more details about attributes and sublabels, use the info method.
Label name, specified as a character vector or string scalar that uniquely
identifies the label to be removed from the label definition creator object.
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.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.