Modify label group name in label definition creator object for lidar workflow
editLabelGroup(
modifies the group name of the specified label identified by ldc
,labelName
,groupName
)labelName
.
The label must be contained within the labelDefinitionCreatorLidar
object
ldc
.
Create an empty labelDefinitionCreatorLidar
object.
ldc = labelDefinitionCreatorLidar;
Cuboid
label, Vehicle
, to the label definition
creator object.
addLabel(ldc,'Vehicle','Cuboid','Group','Transport')
Add a Cuboid
label, Car
, to the label definition
creator
object.
addLabel(ldc,'Car','Cuboid','Group','Four Wheeler')
ldc
ldc = labelDefinitionCreatorLidar contains the following labels: Vehicle with 0 attributes and belongs to Transport group. (info) Car with 0 attributes and belongs to Four Wheeler group. (info) For more details about attributes, use the info method.
Change the group of the Car
label from Four
Wheeler
to
Transport
.
editLabelGroup(ldc,'Car','Transport')
ldc = labelDefinitionCreatorLidar contains the following labels: Vehicle with 0 attributes and belongs to Transport group. (info) Car with 0 attributes and belongs to Transport group. (info) For more details about attributes, use the info method.