You are here: Start » FIL.NET » Function Reference » Image » Image Spatial Transforms » FIL.TranslatePixels
Moves the pixels of the input image by the vectors specified with inVectorImage.
| Namespace: | FilNet |
|---|---|
| Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void TranslatePixels ( FilNet.Image inImage, FilNet.Image inVectorImage, NullableRef<FilNet.Region> inRoi, FilNet.InterpolationMethod inImageInterpolation, FilNet.Image outImage )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inVectorImage | FilNet.Image | Two-channel image specifying translation vector for each pixel. | ||
![]() | inRoi | FilNet.NullableRef<FilNet.Region> | Range of pixels to be processed. Default value: ftl::NIL. | ||
![]() | inImageInterpolation | FilNet.InterpolationMethod | |||
![]() | outImage | FilNet.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. |


