Inheritance diagram for nipy.algorithms.registration.grid_transform:
Bases: object
Methods
IJK | |
as_displacements |
image : a nipy-like image
data : a 5d array representing the deformation modes, first three dimensions should represent space, next dimension should be the mode index, last dimension should be 3.
Returns an array of grid coordinates that is aligned with the image data array in the sense that:
arr[i,j,k] corresponds to self.IJK()[i,j,k,:]
Return the displacements sampled on the grid. Displacements are matched with the array output by IJK.
Bases: nipy.algorithms.registration.grid_transform.GridTransform
Methods
IJK | |
as_displacements |
control_points: a Nx3 array of world coordinates
if grid_coords is True, both control_points and sigma are interpreted in voxel coordinates.
Returns an array of grid coordinates that is aligned with the image data array in the sense that:
arr[i,j,k] corresponds to self.IJK()[i,j,k,:]