[Neuroimaging] Nibabel get_fdata()

Matthew Brett matthew.brett at gmail.com
Wed Oct 17 06:49:52 EDT 2018


Can you post an image somewhere for us to try?

Are your images on your local hard disk?


On Wed, Oct 17, 2018 at 10:07 AM serafim loukas <seralouk at hotmail.com> wrote:
> 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
> _______________________________________________
> Neuroimaging mailing list
> Neuroimaging at python.org
> https://mail.python.org/mailman/listinfo/neuroimaging

More information about the Neuroimaging mailing list