Table Of Contents

Previous topic

algorithms.fwhm

Next topic

algorithms.kernel_smooth

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

A class that enables interpolation of an Image instance at arbitrary points in the Image’s world space (image.coordmap.output_coords).

The resampling is done with scipy.ndimage.

__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