Supporting of Complex NIfTI Files in Matlab

6 views (last 30 days)
Cecil Yen
Cecil Yen on 8 Jun 2018
Commented: Cecil Yen on 10 Jun 2018
I was very happy to see that Matlab finally supported reading and writing NIfTI format natively. But, the current implementation (as for 2018a) lacks the ability to read and write the complex data. When I input some complex data, they would return errors with "The specified image data type is not supported."
Complex images are important for most MRI researchers to further process and analyze the data. I am searching for better alterations for reading and writing complex NIfTI files. Few options here:
Which one is better in term of flexibility and supports? Anyone has experience working with complex NIfTI files in Matlab?
  1 Comment
Cecil Yen
Cecil Yen on 10 Jun 2018
MATLAB's built-in niftiwrite will only quietly write real data to the nii file. This makes thing very difficult to debug because it won't report an error and lacking the support of complex data is not documented. For other solutions, spm12 doesn't support 5D data. :(

Sign in to comment.

Answers (0)

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!