[Neuroimaging] Affine 3D registration in Dipy

Vinit Srivastava vinit.k.srivastava at gmail.com
Tue Oct 24 21:36:51 EDT 2017


I am attempting to coregister a moving T1 image to a static reference b0
volume by performing affine registration in 3D (I'm following the Dipy
tutorial but using my own data).  Everything goes well until running
'resampled = affine.map.transform(moving)'

The following error message appears:

 File "C:\Users\Vinit\Anaconda2\lib\site-packages\dipy\align\imaffine.py",
line 267, in _apply_transform
    transformed = _transform_method[(dim, interp)](image, shape, comp)

KeyError: (4, 'linear')

Any help would be really appreciated.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20171024/9fab4800/attachment.html>

More information about the Neuroimaging mailing list