Main Content

Medical Volume Viewer

View medical volume data

Since R2026a

Description

The Medical Volume Viewer app enables you to visualize 3-D medical image volumes, including label data and multimodal overlays. Using the app, you can:

  • Load 3-D image volumes, labels, and ground truth data. The app automatically applies available metadata to display volumes using the correct voxel spacing and patient orientation.

  • Organize and group related images, such as multimodal scans from the same patient.

  • Explore images and multimodal overlays as 2-D slice planes or 3-D volumes with anatomical orientation markers and scale bars. Navigate slices using crosshairs.

  • Apply preset alphamaps and colormaps, including specialized PET colormaps, to 2-D and 3-D displays.

  • Create and save custom alphamaps and colormaps for reuse inside and outside the app.

  • Publish 2-D and 3-D PNG or PDF image snapshots and GIF animations.

Medical Volume Viewer app

Open the Medical Volume Viewer App

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

  • MATLAB command prompt: Enter medicalVolumeViewer.

Programmatic Use

medicalVolumeViewer opens the Medical Volume Viewer app.

medicalVolumeViewer(volumeFile) opens the app and displays the volume in the specified DICOM, NIfTI, NRRD, TIFF, or MAT file or DICOM folder. The app scales the volume using the voxel dimensions in the file metadata, if specified. If you specify a file with limited metadata, such as a TIFF file, the app assumes default spatial referencing with voxel spacing of 1-by-1-by-1 millimeters, and the first voxel located at (1, 1, 1). The app also hides anatomical plane and direction labels.

medicalVolumeViewer(volume) opens the app and displays the volume volume, which can be either a grayscale 3-D numeric array or a medicalVolume object in the workspace. The voxel data must not contain singleton dimensions.

medicalVolumeViewer(volume,labels) opens the app and displays the specified volume and labels. You can specify volume as a file path, a folder path, a grayscale 3-D numeric array, or a medicalVolume object. You can specify labels as a file path, a 3-D numeric array of labels, or a medicalVolume object. The label and volume data must not contain singleton dimensions.

medicalVolumeViewer(gTruthFile) opens the app and displays the volume and label data in the specified file, which must be a MAT file that contains a groundTruthMedical object.

medicalVolumeViewer(gTruth) opens the app and displays the volume and label data in the specified groundTruthMedical object in the workspace.

Version History

Introduced in R2026a