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
(points)Resample image at points in world space -
__init__
(image, order=3)¶ Parameters: image : Image
Image to be interpolated
order : int, optional
order of spline interpolation as used in scipy.ndimage. Default is 3.
-
evaluate
(points)¶ Resample image at points in world space
Parameters: points : array
values in self.image.coordmap.output_coords. Each row is a point.
Returns: V : ndarray
interpolator of self.image evaluated at points
-