vision.labeler.loading.MultiSignalSource Class
Namespace: vision.labeler.loading
Superclasses: matlab.mixin.Heterogeneous
Interface for loading signal data into Ground Truth Labeler app
Description
The vision.labeler.loading.MultiSignalSource class creates an interface for
loading signals from a data source into the Ground
Truth Labeler app. The data source can be a file format or any custom source.
The interface created using this class enables you to customize the panel for loading custom data sources in the Add/Remove Signal dialog box of the app. The figure shows a sample loading panel.

The class also provides an interface to read frames from loaded signals. The app renders these frames for labeling.
To define a custom class to load a data source into the app, follow these steps.
Create a class that inherits from the
vision.labeler.loading.MultiSignalSourceclass. The class definition must have this format, whereis the name of your custom data source class.customSourceClassclassdef customSourceClass < vision.labeler.loading.MultiSignalSourceSave the class to this folder, where
is the full path to your MATLAB® installation folder as returned by thematlabrootmatlabrootfunction.<matlabroot>\toolbox\vision\vision\+vision\+labeler\+loading
Alternatively, create a
+vision/+labeler/+loadingfolder structure, add these folders to the MATLAB search path, and save the class to the+vision/+labeler/+loadingfolder. The Ground Truth Labeler app recognizes data source classes in folders with this path only.Define the class properties and methods required to load the data source into the app. This table shows the predefined custom classes that you can use as starting points for defining these properties and methods.
Class Data Source Loaded by Class Command to View Class Source Code vision.labeler.loading.VideoSourceVideo file edit vision.labeler.loading.VideoSourcevision.labeler.loading.ImageSequenceSourceImage sequence folder edit vision.labeler.loading.ImageSequenceSourcevision.labeler.loading.VelodyneLidarSourceVelodyne® packet capture (PCAP) file edit vision.labeler.loading.VelodyneLidarSourcevision.labeler.loading.RosbagSourceRosbag file edit vision.labeler.loading.RosbagSourcevision.labeler.loading.PointCloudSequenceSourcePoint cloud sequence folder edit vision.labeler.loading.PointCloudSequenceSourcevision.labeler.loading.CustomImageSourceCustom image format edit vision.labeler.loading.CustomImageSourceFor an explanation of the required properties and methods used for defining a custom data source class, see the Create Class for Loading Custom Ground Truth Data Sources example.
The vision.labeler.loading.MultiSignalSource class is a handle class.
Properties
Methods
Version History
Introduced in R2020a