TranslateImage
Translates an image by a vector, without changing its dimensions.
Applications:E.g. camera shaking reduction.
Syntax
C++
Python
def TranslateImage( inImage: Image, inDeltaX: int, inDeltaY: int, outImage: Image, /, *, inBorder: Pixel = Pixel(0, 0, 0, 0), inInverse: bool = False ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImage | Image | Input image | |
![]() |
inBorder | Pixel | Pixel(0, 0, 0, 0) | Color used to fill pixels outside of the translated image |
![]() |
inDeltaX | int | Horizontal shift | |
![]() |
inDeltaY | int | Vertical shift | |
![]() |
inInverse | bool | False | Switches to the inverse operation |
![]() |
outImage | Image | Output image |


