How to read NIfTI image?
Show older comments
I need to read NIfTI image
V = niftiread('file name');
V = niftiread('a.nii');
Undefined function or variable 'niftiread' ( How to defined ?? )
5 Comments
Walter Roberson
on 3 Jan 2018
Which MATLAB release are you using?
marwa za
on 5 Jan 2018
Walter Roberson
on 5 Jan 2018
Emerson Nithiyaraj
on 1 Aug 2019
is there a way to display the images in .NII file?
Walter Roberson
on 1 Aug 2019
Only by reading them and displaying them. There is no tool available that will "preview" .nii files somehow.
Answers (2)
marwa za
on 5 Jan 2018
1 vote
1 Comment
Walter Roberson
on 5 Jan 2018
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.
Categories
Find more on Neuroimaging in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!