delta.data.zoomshift¶
- delta.data.zoomshift(I: ndarray[Any, dtype[float32]], zoomlevel: float, shiftX: float, shiftY: float, order: int = 0) ndarray[Any, dtype[float32]]¶
This function zooms and shifts images.
- Parameters
- I2D numpy array
input image.
- zoomlevelfloat
Additional zoom to apply to the image.
- shiftXfloat
X-axis shift to apply to the image, in pixels.
- shiftYfloat
Y-axis shift to apply to the image, in pixels.
- orderint, optional
Interpolation order. The default is 0.
- Returns
- I2D numpy array
Zoomed and shifted image of same size as input.