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

AVL.TranslatePixels Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void TranslatePixels(
	AvlNet.Image inImage,
	AvlNet.Image inVectorImage,
	AvlNet.InterpolationMethod inImageInterpolation,
	out 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

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

See also