Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Image Spatial Transforms » TranslatePixels

TranslatePixels


Moves the pixels of the input image by the vectors specified with inVectorImage.

Name Type Description
inImage Image Input image
inVectorImage Image Two-channel image specifying translation vector for each pixel
inRoi Region* Range of pixels to be processed
inImageInterpolation InterpolationMethod
outImage Image Output image

Only the following inVectorImage pixel formats are supported: 2xreal

Errors

This filter can throw an exception to report error. Read how to deal with errors here: Error Handling

Error type Description
DomainError Image size are not equal in TranslatePixels.
DomainError Incorrect vector image format in TranslatePixels.
DomainError Unknown interpolation method in TranslatePixels.

Complexity Level

This filter is available on Basic Complexity Level.