checkSignalType
Class: vision.labeler.AutomationAlgorithm
Namespace: vision.labeler
Description
In the labeling apps, the checkSignalType
method validates whether each signal selected for automation supports the signal type
relevant to the automation algorithm.
Algorithms that automate the labeling of image collections, videos, or image sequences support signals of type
Image
only.Algorithms that automate the labeling of lidar point clouds support signals of type
PointCloud
only.
The implementation of this method depends on which labeling app the automation algorithm is being used with.
Labeling App of Automation Algorithm | checkSignalType Implementation |
---|---|
You do not need to implement this method. By default, this method
validates that the signal being automated is of type
Image , which is the only signal type that these
apps support. | |
Ground Truth Labeler (Automated Driving Toolbox) | Update this method to validate whether the automation algorithm
supports Image signals, PointCloud
signals, or both types of signals. |
Lidar Labeler (Lidar Toolbox) | You do not need to implement this method. If you do implement this
method, update it to validate that the signal is of type
PointCloud , which is the only signal type that
this app supports. |
returns logical isValid
= checkSignalType(signalType
)1
(true) when the specified signal type is
valid. In the Ground Truth Labeling app, if you select an automation
algorithm, select signals that are of an invalid type, and then click
Automate, the app displays an error.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2020a
See Also
vision.labeler.loading.SignalType
(Automated Driving Toolbox) | checkLabelDefinition
| vision.labeler.AutomationAlgorithm
| checkSetup