Hoe to use BRAT Dataset? It is in .nii format. I want to store it in .mat files. How to do it?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
anmol maharana
le 2 Déc 2017
Commenté : anmol maharana
le 3 Déc 2017
[V info]=ReadData3D(file .nii);
After this V has 256*256*155 matrix.
How to read the image?
0 commentaires
Réponse acceptée
Walter Roberson
le 2 Déc 2017
I think it likely that you have already read the images. .nii files often have multiple slices stored in the same file. Your slices are V(:,:,1), V(:,:,2), V(:,:,3) and so on.
If you have R2017a or later, you could view them using
volumeViewer(V)
3 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Type Conversion 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!