[Neuroimaging] Nibabel get_fdata()

serafim loukas seralouk at hotmail.com
Wed Oct 17 04:34:24 EDT 2018


Dear Experts,



I have some neuroimaging data and I would like to use Nibabel instead of SPM (matlab).
My goal is to load brain images, then vectorise them and finally do some analysis on these vectors.

When I use the get_fdata() command, it takes a lot of time to load the image.
On the other hand, SPM is faster (spm_read_vols(spm_vol(my_image_path))) in terms of loading the data.

Am I missing something? Is there any way to make get_fdata() faster?



Best,
Serafim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20181017/8a224bf1/attachment.html>


More information about the Neuroimaging mailing list