groundTruthMultisignal
Description
ThegroundTruthMultisignal
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 agroundTruthMultisignal
object from theGround Truth Labelerapp.
To create training data for deep learning applications from arrays ofgroundTruthMultisignal
对象, use thegatherLabelData
function.
创建
To export agroundTruthMultisignal
object from theGround Truth Labelerapp, on the app toolstrip, selectExport Labels>To Workspace。The app exports the object to the MATLAB®workspace. To create agroundTruthMultisignal
object programmatically, use thegroundTruthMultisignal
function (described here).
Description
returns an object containing ground truth labels that can be imported into theGround Truth Labelerapp.gTruth
= groundTruthMultisignal (dataSources
,labelDefs
,roiData
,sceneData
)
dataSources
specifies the sources of the ground truth data and sets theDataSource
property.labelDefs
specifies the label, sublabel, and attribute definitions of the ground truth data and sets theLabelDefinitions
property.roiData
specifies the identifying information, position, and timestamps for the marked region of interest (ROI) labels and sets theROILabelData
property.sceneData
specifies the identifying information and timestamps for marked scene labels and sets theSceneLabelData
property.
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
groundTruthMultisignal
对象with video-based data sources rely on the video reading capabilities of your operating system. AgroundTruthMultisignal
object created using video data sources remains consistent only for the same platform that was used to create it. To create a platform-independentgroundTruthMultisignal
object, convert the videos into sequences of images and include the associated timestamps with the image sequences.To create a
groundTruthMultisignal
object containing ROI label data but no scene label data, specify theSceneLabelData
property 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