Table Of Contents

Previous topic

neurospin.registration.registration

Next topic

neurospin.scripts.plot_activation

This Page

neurospin.registration.transform_affine

Module: neurospin.registration.transform_affine

Functions

nipy.neurospin.registration.transform_affine.preconditioner(radius)
Computes a scaling vector pc such that, if p=(u,r,s,q) represents affine transformation parameters, where u is a translation, r and q are rotation vectors, and s is a scaling vector, then all components of (p/pc) are somehow comparable and homogeneous to the distance unit implied by the translation component.
nipy.neurospin.registration.transform_affine.transform(xyz, T)
T is a 4x4 matrix. xyz is a 3xN array of 3d coordinates stored row-wise.
nipy.neurospin.registration.transform_affine.vector12_to_param(t, precond, stamp)