Main Content

Volume Segmenter

Segment 3-D grayscale or RGB volumetric images

Description

The app can be used to create and refine a binary or semantic segmentation mask for a 3-D grayscale or an RGB image using automated, semi-automated, and manual techniques.

Note

The app is not supported in MATLAB® Online™. For details, see Specifications and Limitations.

Note

Medical Image Labeler (Medical Imaging Toolbox) is recommended over Volume Segmenter because it offers several advantages, such as:

  • Use of spatial referencing information found in file metadata.

  • Simultaneous display of three orthogonal cross-sections.

  • Improved performance.

Medical Image Labeler requires Medical Imaging Toolbox™.

Volume Segmenter app

Open the Volume Segmenter App

  • MATLAB Toolstrip: Open the Apps tab, under Image Processing and Computer Vision, click the Volume Segmenter app icon.

  • MATLAB command prompt: Enter volumeSegmenter.

Examples

expand all

Load a volume into the workspace.

load(fullfile(toolboxdir("images"),"imdata","BrainMRILabeled", ...
    "images","vol_001.mat"));

Load the corresponding labeled volume into the workspace.

load(fullfile(toolboxdir("images"),"imdata","BrainMRILabeled", ...
    "labels","label_001.mat"));

Open Volume Segmenter specifying both the volume and the labeled volume.

volumeSegmenter(vol,label)

Programmatic Use

volumeSegmenter opens the Volume Segmenter app.

volumeSegmenter(V) opens the Volume Segmenter app, loading the volume V into the app. Volume V is an m-by-n-by-p or m-by-n-by-p-by-3 image of data type uint8, uint16, uint32, int8, int16, int32, single, or double.

volumeSegmenter(V,L) opens the Volume Segmenter app, loading the volume V and the labeled volume L into the app. The labeled volume L is an m-by-n-by-p image of data type logical, categorical, uint8, uint16, uint32, int8, int16, int32, single, or double.

volumeSegmenter(___,Show3DDisplay=TF) logical value that specifies whether Volume Segmenter includes a visualization of the 3-D volume in the app. The default value is true. Hiding the 3-D display by specifying Show3DDisplay as false can improve app performance on platforms with limited graphics support, such as Linux platforms or Windows platforms that use software rendering.

Version History

Introduced in R2020b

expand all