You are here: Start » AVL.NET » Function Reference » Image » Image Spatial Transforms » 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 | |
|---|---|---|---|---|---|
![]() | inImage | AvlNet.Image | Input image. | ||
![]() | inVectorImage | AvlNet.Image | Two-channel image specifying translation vector for each pixel. | ||
![]() | inRoi | AvlNet.NullableRef<AvlNet.Region> | Range of pixels to be processed. Default value: atl::NIL. | ||
![]() | inImageInterpolation | AvlNet.InterpolationMethod | |||
![]() | outImage | AvlNet.Image | Output 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. |


