how i read and display the .mha file?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Syed Mobashir
le 9 Mar 2015
Commenté : Michael Haderlein
le 10 Mar 2015
i had a .mha file, i used the below two lines to display the image
V = mha_read_volume('abcd.mha');
imshow(squeeze(V(:,:,round(end/2))),[]);
but its is giving an error
'Undefined command/function 'mha_read_volume'
0 commentaires
Réponse acceptée
Michael Haderlein
le 9 Mar 2015
Modifié(e) : Michael Haderlein
le 9 Mar 2015
The file mha_read_volume.m must either be in the current directory or be in one of the directories displayed when you enter path. Obviously, this file is in neither of these directories. So, either change your current directory or add the correct directory to your path with addpath(directory).
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Environment and Settings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!