TranslatePixels
Moves the pixels of the input image by the vectors specified with inVectorImage.
Syntax
C++
Python
def TranslatePixels( inImage: Image, inVectorImage: Image, outImage: Image, /, *, inRoi: Region | None = None, inImageInterpolation: InterpolationMethod = InterpolationMethod.NearestNeighbour ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImage | Image | Input image | |
![]() |
inVectorImage | Image | Two-channel image specifying translation vector for each pixel | |
![]() |
inRoi | Region | None | None | Range of pixels to be processed |
![]() |
inImageInterpolation | InterpolationMethod | InterpolationMethod.NearestNeighbour | |
![]() |
outImage | Image | Output image |


