View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Function for Viewing MRI Slices

1.0 | 1 rating Rate this file 11 Downloads (last 30 days) File Size: 1.75 KB File ID: #34906 Version: 1.0
image thumbnail

Function for Viewing MRI Slices


Aras (view profile)


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

| Watch this File

File Information

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.


Tools For N If Ti And Analyze Image inspired this file.

Required Products MATLAB
MATLAB release MATLAB 7.4 (R2007a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
18 Dec 2012 meray

meray (view profile)

01 Jun 2012 Aras

Aras (view profile)

You should type the entire directory for the NIFTI file you wish to slice. For example, you can use this form= C:\Users\User\Documents\Scans\nifti.nii

I hope this helps...

Comment only
31 May 2012 Sophie

Sophie (view profile)

For the load_nii function to work properly, the entire path should be entered as t in the function.Otherwise, load_nii might not be able to find the file?

what should I do?

Comment only

Contact us