You are here: Start » AVL.NET » Function Reference » Image » Image Spatial Transforms » AVL.TranslateImage

AVL.TranslateImage

Translates an image by a vector, without changing its dimensions.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void TranslateImage
(
	AvlNet.Image inImage,
	AvlNet.Pixel inBorder,
	int inDeltaX,
	int inDeltaY,
	bool inInverse,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inBorderAvlNet.PixelColor used to fill pixels outside of the translated image.
inDeltaXintHorizontal shift.
inDeltaYintVertical shift.
inInverseboolSwitches to the inverse operation.
outImageAvlNet.ImageOutput image.

Examples

TranslateImage performed on the sample image.

See also