You are here: Start » AVL.NET » Function Reference » Image » Image Spatial Transforms » 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,
	NullableRef<AvlNet.Region> inRoi,
	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.
inRoiAvlNet.NullableRef<AvlNet.Region>Range of pixels to be processed. Default value: atl::NIL.
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 Region exceeds an input image in TranslatePixels.
DomainError Unknown interpolation method in TranslatePixels.
DomainError Not supported inVectorImage pixel format in TranslatePixels. Supported formats: 2xReal.

Function Overrides

See also