groundTruthMultisignal
Ground truth label data for multiple signals
Description
The groundTruthMultisignal object contains
      information about the ground truth data source, label definitions, and marked label
      annotations for multiple signals. The source of the signals can be a video, image sequence,
      lidar point cloud, or any other custom format containing multiple signals. You can export or
      import a groundTruthMultisignal object from the Ground
        Truth Labeler app.
To create training data for deep learning applications from arrays of groundTruthMultisignal objects, use the gatherLabelData
      function.
Creation
To export a groundTruthMultisignal object from the
        Ground Truth Labeler app, on the app toolstrip, select Export Labels > To Workspace. The app exports the object to the MATLAB® workspace. To create a groundTruthMultisignal object
      programmatically, use the groundTruthMultisignal function (described
      here).
Description
gTruth = groundTruthMultisignal(dataSources,labelDefs,roiData,sceneData)
- dataSourcesspecifies the sources of the ground truth data and sets the- DataSourceproperty.
- labelDefsspecifies the label, sublabel, and attribute definitions of the ground truth data and sets the- LabelDefinitionsproperty.
- roiDataspecifies the identifying information, position, and timestamps for the marked region of interest (ROI) labels and sets the- ROILabelDataproperty.
- sceneDataspecifies the identifying information and timestamps for marked scene labels and sets the- SceneLabelDataproperty.
Properties
Object Functions
| selectLabelsByLabelName | Select multisignal ground truth by label name | 
| selectLabelsByLabelType | Select multisignal ground truth by label type | 
| selectLabelsByGroupName | Select multisignal ground truth by label group name | 
| selectLabelsBySignalName | Select multisignal ground truth by signal name | 
| selectLabelsBySignalType | Select multisignal ground truth labels by signal type | 
| gatherLabelData | Gather synchronized label data from ground truth | 
| writeFrames | Write signal frames for ground truth data to disk | 
| changeFilePaths | Change file paths in multisignal ground truth data | 
Examples
Tips
- groundTruthMultisignalobjects with video-based data sources rely on the video reading capabilities of your operating system. A- groundTruthMultisignalobject created using video data sources remains consistent only for the same platform that was used to create it. To create a platform-independent- groundTruthMultisignalobject, convert the videos into sequences of images and include the associated timestamps with the image sequences.
- To create a - groundTruthMultisignalobject containing ROI label data but no scene label data, specify the- SceneLabelDataproperty as an empty array. To create this array, at the MATLAB command prompt, enter this code.- sceneData = vision.labeler.labeldata.SceneLabelData.empty 
Version History
Introduced in R2020a