Convert voi.mat file to nii

5 views (last 30 days)
Monalisa Chikezie
Monalisa Chikezie on 3 Aug 2022
Answered: Akash on 13 Sep 2023
Hi, I have 4 voi.mat files in each of 60 subfolders. I want to convert all to nifti files. Each voi file has similar information like the screenshot.

Answers (1)

Akash
Akash on 13 Sep 2023
Hi Monalisa,
I understand that you have ".mat" files, and you want to convert all of them into "NIFTI" files. You would need to build a "NIFTI" structure from the matrix contained in each ".mat" file and then save the "NIFTI" structure as a "NIFTI" file.
To convert the ".mat" files into "NIFTI" files, you can refer to the following discussion link, which provides insights on how to convert ".mat" files into "NIFTI" format using MATLAB.
Additionally, you can refer to the following documentation to learn more about the "NIFTI" structure and its usage.
Thanks,
Akash.

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!