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 commentaires

Walter Roberson
Walter Roberson le 3 Jan 2018
Which MATLAB release are you using?
marwa za
marwa za le 5 Jan 2018
i use Matlab R2015a
Walter Roberson
Walter Roberson le 5 Jan 2018
Emerson Nithiyaraj
Emerson Nithiyaraj le 1 Août 2019
is there a way to display the images in .NII file?
Walter Roberson
Walter Roberson le 1 Août 2019
Only by reading them and displaying them. There is no tool available that will "preview" .nii files somehow.

Connectez-vous pour commenter.

Réponses (2)

marwa za
marwa za le 5 Jan 2018

1 vote

is there not a solution with Matlab R2015 ?

1 commentaire

Walter Roberson
Walter Roberson le 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.

Connectez-vous pour commenter.

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by