Main Content

Medical Image Labeler

Display and label 2-D and 3-D medical images

Description

The Medical Image Labeler app enables you to label ground truth data in medical images. Using the app, you can:

  • Import multiple 2-D images or 3-D image volumes.

  • View images as slice planes or volumes with anatomical orientation markers and scale bars.

  • Create multiple pixel label definitions to label regions of interest. Label pixels using automatic algorithms such as flood fill, semi-automatic techniques such as interpolation, and manual techniques such as painting by superpixels.

  • Write, import, and use your own custom automation algorithm to automatically label ground truth data.

  • Export the labeled ground truth data as a groundTruthMedical object. You can use this object to share labels with colleagues or for training semantic segmentation deep learning networks.

The Medical Image Labeler app supports 2-D images and image sequences stored in the DICOM and NIfTI file formats. An image sequence is a series of images related by time, such as ultrasound data. The app supports 3-D image volume data stored in the DICOM (single or multifile volume), NIfTI, and NRRD file formats.

To learn more about this app, see Get Started with Medical Image Labeler.

Medical Image Labeler App

Open the Medical Image Labeler App

  • MATLAB® Toolstrip: On the Apps tab, under Image Processing and Computer Vision, click the Medical Image Labeler app icon.

  • MATLAB command prompt: Enter medicalImageLabeler.

Programmatic Use

expand all

medicalImageLabeler opens the Medical Image Labeler app, which enables you to start a new session to label 2-D or 3-D medical image data.

medicalImageLabeler(gTruthFile) opens the app and loads the image and label data stored in the file gTruthFile into the app. gTruthFile is the full path to a MAT file containing a groundTruthMedical object, specified as a string scalar or character vector.

medicalImageLabeler(gTruth) opens the app and loads the image and label data stored in the groundTruthMedical object gTruth from the workspace into the app.

medicalImageLabeler(sessionFolder) opens the app and loads a saved labeling session into the app, where sessionFolder is the full path to a session folder created using the Medical Image Labeler app.

medicalImageLabeler(sessionType) opens the app and creates a new session of the specified type, where sessionType is "Volume" or "Image". For more information about session types, see Get Started with Medical Image Labeler.

Version History

Introduced in R2022b

See Also

| (Computer Vision Toolbox)