Filter löschen
Filter löschen

Hoe to use BRAT Dataset? It is in .nii format. I want to store it in .mat files. How to do it?

1 Ansicht (letzte 30 Tage)
[V info]=ReadData3D(file .nii);
After this V has 256*256*155 matrix.
How to read the image?

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 2 Dez. 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 Kommentare

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by