attributeType
Attribute type enumerations for labeling
Description
The attributeType
enumerations enable you to
specify the types of attributes used in these labeling apps: Image Labeler, Video Labeler, Lidar Labeler (Lidar Toolbox), and Ground Truth Labeler (Automated Driving Toolbox) (requires Automated Driving Toolbox™). When creating label definitions by using a labelDefinitionCreator
or labelDefinitionCreatorMultisignal
(Automated Driving Toolbox) object, use these enumerations to create
attributes of specific types.
Creation
Syntax
Description
attributeType(
creates a numeric
attribute type enumeration. Attributes of this type are numeric scalar values. You can
also use the programmatic format, 'Numeric'
)attributeType.Numeric
.
attributeType(
creates a string
attribute type enumeration. Attributes of this type are string scalars. You can also use
the programmatic format, 'String'
)attributeType.String
.
attributeType(
creates a logical
attribute type enumeration. Attributes of this type are 'Logical'
)true
(logical
1
), false
(logical 0
), or an
empty logical value. You can also use the programmatic format,
attributeType.Logical
.
attributeType(
creates a list
attribute type enumeration. Attributes of this type are lists of predefined strings. You
can also use the programmatic format, 'List'
)attributeType.List
.
attributeType(
creates an enumeration
whose type is not defined. You can also use the programmatic format,
'None'
)attributeType.None
.
Object Functions
hasValue | Determine if the attribute type is numeric or logical |
Examples
Version History
Introduced in R2018b
See Also
Apps
- Image Labeler | Ground Truth Labeler (Automated Driving Toolbox) | Video Labeler
Objects
labelType
|labelDefinitionCreator
|labelDefinitionCreatorMultisignal
(Automated Driving Toolbox)