delta.data.shift

delta.data.shift(image: numpy.ndarray[Any, numpy.dtype[numpy.float32]], vector: Tuple[float, float], order: int = 0) numpy.ndarray[Any, numpy.dtype[numpy.float32]]

Image shifting function

Parameters
image2D numpy array

Input image.

vectortuple of floats

Translation/shit vector.

orderint, optional

Interpolation order. The default is 0.

Returns
shifted2D numpy image

Shifted image.