info
Display label or attribute information stored in label definition creator for lidar workflow
Description
info(
displays
information about the specified label or attribute ldc
,name
)name
stored in the
labelDefinitionCreatorLidar
object
ldc
.
returns the information as a structure.infoStruct
= info(ldc
,name
)
Examples
Save Definitions from Lidar Label Definition Creator
Create an empty labelDefinitionCreatorLidar
object.
ldc = labelDefinitionCreatorLidar;
Add a Cuboid
label, Vehicle
, with Group
and Description
information to the label definition creator object.
addLabel(ldc,'Vehicle','Cuboid','Group','Transport','Description','Use this label for cars and buses')
Create a structure array containing the label information.
infoStruct = info(ldc,'Vehicle')
infoStruct = struct with fields:
Name: "Vehicle"
Type: {[Cuboid]}
LabelColor: {''}
Group: "Transport"
Attributes: []
Description: 'Use this label for cars and buses'
Input Arguments
ldc
— Label definition creator for lidar workflow
labelDefinitionCreatorLidar
object
Label definition creator for the lidar workflow, specified as a labelDefinitionCreatorLidar
object.
name
— Name of label or attribute
character vector | string scalar
Name of the label or attribute in the ldc
object, specified as
a character vector or string scalar. The form of the argument depends on the type of
name specified.
To specify a label, use the form 'labelName'. For example,
'TrafficLight'
specifies the label with the label nameTrafficLight
.
To specify an attribute, use the form 'labelName/attributeName'. For example,
'TrafficLight/Active'
specifies theActive
attribute of the label with the label nameTrafficLight
.
Output Arguments
infoStruct
— Information structure
structure
Information structure, returned as a structure that contains the fields
Name
, SignalType
(for labels),
LabelType
(for labels), Type
(for attributes),
Description
, Attributes
(when pertinent),
DefaultValue
(for attributes), and ListItems
(for List attributes).
Version History
Introduced in R2020b
Apri esempio
Si dispone di una versione modificata di questo esempio. Desideri aprire questo esempio con le tue modifiche?
Comando MATLAB
Hai fatto clic su un collegamento che corrisponde a questo comando MATLAB:
Esegui il comando inserendolo nella finestra di comando MATLAB. I browser web non supportano i comandi MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- 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)