Validate signal type
In the labeling apps, the checkSignalType
method validates whether the 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.
In automation algorithms created for the Image Labeler
and Video Labeler
apps, you do not need to implement this method. If you do implement this method or use
the default implementation, the apps validate that the signal is of type
Image
, which is the only signal type that these apps
support.
In automation algorithms created for the Ground Truth Labeler (Automated Driving Toolbox) app, you must implement this method. Use this method to
validate whether the automation algorithm supports Image
or
PointCloud
signals. Use of the Ground Truth Labeler
app requires Automated Driving Toolbox™.
returns isValid
= checkSignalType(signalType
)true
whether the specified signal type is valid. In
the Ground Truth Labeling app, if you select an automation algorithm
for a signal type that is invalid and then click Automate,
the app displays an error.
checkLabelDefinition
| checkSetup
| vision.labeler.AutomationAlgorithm
| vision.labeler.loading.SignalType
(Automated Driving Toolbox)