groundTruthMultisignal
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
returns an object containing ground truth labels that can be imported into the Ground
Truth Labeler app.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
objects 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