image thumbnail

4D Volume Visualization

version (8.49 KB) by Joshua Stough
4D (3D+1) volume visualization with windowing, custom colormaps, and component selection


Updated 23 Apr 2013

View License

A tool for visualizing vector-valued volumetric data, which has become more common recently in medical imaging (e.g., 3D + time, multi-modal acquisition). The function accepts a 4D matrix, allowing the user to interactively select the 4th dimensional component to display. The 3D volume for the particular component is shown in a neurological coordinate frame with three orthogonal planar views along with a built-in 'slice' visualization. The user may also supply a cell array of colormaps, which populate a menu within the gui.

Cite As

Joshua Stough (2022). 4D Volume Visualization (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: 3D Volume Visualization

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!