NIPY logo

Site Navigation

NIPY Community

Table Of Contents

This Page

neurospin.registration.grid_transform

Module: neurospin.registration.grid_transform

Inheritance diagram for nipy.neurospin.registration.grid_transform:

Classes

GridTransform

class nipy.neurospin.registration.grid_transform.GridTransform(image, data, affine=None)

Bases: object

__init__(image, data, affine=None)

image : a neurospin image or a sequence (shape, affine)

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.

IJK()
affine
param
shape

SplineTransform

class nipy.neurospin.registration.grid_transform.SplineTransform(image, control_points, sigma, grid_coords=False, affine=None)

Bases: nipy.neurospin.registration.grid_transform.GridTransform

__init__(image, control_points, sigma, grid_coords=False, affine=None)

control_points: a Nx3 array of world coordinates

if grid_coords is True, both control_points and sigma are interpreted in voxel coordinates.

IJK()
affine
param
shape