JuliaNeuroscience / NIfTI.jl

Julia module for reading/writing NIfTI MRI files
Other
74 stars 34 forks source link

Implement abstract array methods #29

Open vsaase opened 5 years ago

vsaase commented 5 years ago

Hi, this adds support for setting indices, slicing and elementwise operations. Operations with multiple NIVolumes are only allowed if they have the same headers, which is maybe too restrictive and could be releaxed with some further thought.

vsaase commented 5 years ago

I think this might break some code. For example it fails when doing something as simple as vol[:] as nifti does not support dimensions larger than what Int16 can hold.

vsaase commented 5 years ago

it can also be very slow?