How to read NIfTI image?

I need to read NIfTI image
V = niftiread('file name');
V = niftiread('a.nii');
Undefined function or variable 'niftiread' ( How to defined ?? )

5 Comments

Which MATLAB release are you using?
i use Matlab R2015a
is there a way to display the images in .NII file?
Only by reading them and displaying them. There is no tool available that will "preview" .nii files somehow.

Sign in to comment.

Answers (2)

marwa za
marwa za on 5 Jan 2018

1 vote

is there not a solution with Matlab R2015 ?

1 Comment

No. There was no built-in way to read NIFTI images in R2015* . There are multiple File Exchange contributions that can deal with nifti files, but MATLAB itself did not add anything until R2017b.

Sign in to comment.

Categories

Tags

Asked:

on 3 Jan 2018

Commented:

on 1 Aug 2019

Community Treasure Hunt

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

Start Hunting!