NIPY logo

Site Navigation

NIPY Community

Table Of Contents

This Page

algorithms.interpolation

Module: algorithms.interpolation

Inheritance diagram for nipy.algorithms.interpolation:

Image interpolators using ndimage.

ImageInterpolator

class nipy.algorithms.interpolation.ImageInterpolator(image, order=3)

Bases: object

Interpolate Image instance at arbitrary points in world space

The resampling is done with scipy.ndimage.

Methods

evaluate
__init__(image, order=3)
Parameters:

image : Image

Image to be interpolated

order : int

order of spline interpolation as used in scipy.ndimage

evaluate(points)
Parameters:

points : values in self.image.coordmap.output_coords

Returns:

V: ndarray :

interpolator of self.image evaluated at points