You are here: Start » AVL.NET » AVL.TranslatePixels

AVL.TranslatePixels

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void TranslatePixels
(
	AvlNet.Image inImage,
	AvlNet.Image inVectorImage,
	AvlNet.InterpolationMethod inImageInterpolation,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inVectorImageAvlNet.ImageTwo-channel image specifying translation vector for each pixel.
inImageInterpolationAvlNet.InterpolationMethod
outImageAvlNet.ImageOutput image.

Errors

List of possible exceptions:

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

Function Overrides

See also