You are here: Start » FIL.NET » Function Reference » Image » Image Spatial Transforms Maps » FIL.RemapImage
Applies a precomputed image transform, defined by a spatial map object.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void RemapImage ( FilNet.Image inImage, FilNet.SpatialMap inSpatialMap, NullableRef<FilNet.Region> inMapRoi, FilNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inSpatialMap | FilNet.SpatialMap | Definition of the transformation. | ||
![]() | inMapRoi | FilNet.NullableRef<FilNet.Region> | Defines which elements of the spatial map are valid. Default value: ftl::NIL. | ||
![]() | outImage | FilNet.Image | Output image. |
Description
The operation applies an arbitrary spatial transformation to an image using a SpatialMap object. The input image has to be compatible with the given map. You can check if a map is compatible with an image using TestSpatialMapApplicability.
Remarks
Hardware Acceleration
This operation is optimized for SSE4 technology for pixels of types: 1xUINT8, 3xUINT8.
This operation is optimized for AVX2 technology for pixels of type: 3xUINT8.
This operation is optimized for NEON technology for pixels of types: 1xUINT8, 3xUINT8.
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Incorrect SpatialMap on input in RemapImage. |