Function for Viewing MRI Slices

Allows the viewing of slices of MRI data in the NIFTI format.

You are now following this Submission

This simple function allows the user to view the saggital, coronal and horizontal slices of a certain .nii format MRI scan. All you need to do is enter the x, y and z coordinates of a certain point to be able to view the slices that pass through that certain point. Colormap is set automatically to gray, but can be changed if desired.
The function uses the load_nii function from Jimmy Shen's "Tools for NIfTI and ANALYZE image" toolbox, and will not work without it.

Cite As

Aras (2026). Function for Viewing MRI Slices (https://nl.mathworks.com/matlabcentral/fileexchange/34906-function-for-viewing-mri-slices), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Tools for NIfTI and ANALYZE image

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0