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
Input value inImage Image Input image
Input value inVectorImage Image Two-channel image specifying translation vector for each pixel
Input value inRoi Region | None None Range of pixels to be processed
Input value inImageInterpolation InterpolationMethod InterpolationMethod.NearestNeighbour
Output value outImage Image Output image