ImageSource
Description
An ImageSource object defines the source of ground truth data for
medical images or series of images related by time, such as ultrasound data. Use this object
to specify the data sources for a groundTruthMedical object.
Creation
When you export labels from a Medical Image Labeler app image session, the
DataSource property of the exported groundTruthMedical
object contains an ImageSource object.
To create an ImageSource object programmatically, such as when
programmatically creating a groundTruthMedical object, use the
medical.labeler.loading.ImageSource function.
Syntax
Description
creates an imgSource = medical.labeler.loading.ImageSource(source)ImageSource object for loading the 2-D medical image data
stored in the files specified by source.
creates an imgSeqSource = medical.labeler.loading.ImageSource(sourceTable)ImageSource object for loading the image files specified in a
table, sourceTable, returned by the
dicomCollection function.