Ground truth label data for multiple signals
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.
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).
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 the DataSource
property.
labelDefs
specifies the label, sublabel, and attribute
definitions of the ground truth data and sets the LabelDefinitions
property.
roiData
specifies the identifying information, position,
and timestamps for the marked region of interest (ROI) labels and sets the ROILabelData
property.
sceneData
specifies the identifying information and
timestamps for marked scene labels and sets the SceneLabelData
property.
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 |
groundTruthMultisignal
objects with video-based data
sources rely on the video reading capabilities of your operating system. A groundTruthMultisignal
object created using video data sources
remains consistent only for the same platform that was used to create it. To create a
platform-specific groundTruthMultisignal
object, convert
the videos into sequences of images.
To create a groundTruthMultisignal
object containing ROI label data
but no scene label data, specify the SceneLabelData
property as an
empty array. To create this array, at the MATLAB command prompt, enter this
code.
sceneData = vision.labeler.labeldata.SceneLabelData.empty
labelDefinitionCreatorMultisignal
| attributeType
(Computer Vision Toolbox) | labelType
(Computer Vision Toolbox)