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. :(
Supporting of Complex NIfTI Files in Matlab
5 次查看(过去 30 天)
显示 更早的评论
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:
Tools for NIfTI and ANALYZE image https://www.mathworks.com/matlabcentral/fileexchange/8797-tools-for-nifti-and-analyze-image
Which one is better in term of flexibility and supports? Anyone has experience working with complex NIfTI files in Matlab?
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!