Clear Filters
Clear Filters

How to read NIfTI image?

5 views (last 30 days)
marwa za
marwa za on 3 Jan 2018
Commented: Walter Roberson on 1 Aug 2019
I need to read NIfTI image
V = niftiread('file name');
V = niftiread('a.nii');
Undefined function or variable 'niftiread' ( How to defined ?? )
  5 Comments
Emerson Nithiyaraj
Emerson Nithiyaraj on 1 Aug 2019
is there a way to display the images in .NII file?
Walter Roberson
Walter Roberson on 1 Aug 2019
Only by reading them and displaying them. There is no tool available that will "preview" .nii files somehow.

Sign in to comment.

Answers (2)

Walter Roberson
Walter Roberson on 5 Jan 2018

marwa za
marwa za on 5 Jan 2018
is there not a solution with Matlab R2015 ?
  1 Comment
Walter Roberson
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.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!