groundTruthMedical
Description
The groundTruthMedical
object contains information about the data
sources, label definitions, and label data for a collection of medical image data. You can
import or export a groundTruthMedical
object to or from the Medical Image Labeler
app.
Creation
The Medical Image Labeler app automatically creates a
groundTruthMedical
object in the session folder for an app session. The app
saves the object as a MAT file. To manually export a groundTruthMedical
object to a specific file location, on the Home tab of the app toolstrip,
select Export and, under Ground Truth, select
To File. To create a groundTruthMedical
object
programmatically, use the groundTruthMedical
function.
Syntax
Description
creates a gTruthMed
= groundTruthMedical(dataSource
,labelDefsNum
)groundTruthMedical
object for the data source
dataSource
, and specifies the number of label definitions to
include.
specifies the label definitions as a list of names.gTruthMed
= groundTruthMedical(dataSource
,labelDefsNames
)
specifies the label definitions as a table.gTruthMed
= groundTruthMedical(dataSource
,labelDefsTable
)
Input Arguments
Properties
Object Functions
addLabel | Add label definition to groundTruthMedical object |
removeLabel | Remove label definition from groundTruthMedical
object |
changeFilePaths | Change file paths in ground truth data for medical images |
merge | Merge two or more groundTruthMedical objects |
Examples
Tips
To load a
groundTruthMedical
object into the Medical Image Labeler, open the app using the syntaxmedicalImageLabeler(gTruthMed)
. Alternatively, within an app session, in the app toolstrip click Import, and under Ground Truth, select From File to load a ground truth object saved as a MAT file or From Workspace to load a ground truth object from the MATLAB workspace.