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

2 ビュー (過去 30 日間)
[V info]=ReadData3D(file .nii);
After this V has 256*256*155 matrix.
How to read the image?

採用された回答

Walter Roberson
Walter Roberson 2017 年 12 月 2 日
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 件のコメント
Walter Roberson
Walter Roberson 2017 年 12 月 3 日
I would suggest trying
imagesc(V(:,:,100))
anmol maharana
anmol maharana 2017 年 12 月 3 日
Yes sir now i am getting the images.Thank you.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePattern Recognition and Classification についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by