You are here: Start » AVL.NET » AVL.RemapImage
Applies a precomputed image transform, defined by a spatial map object.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void RemapImage ( AvlNet.Image inImage, AvlNet.SpatialMap inSpatialMap, NullableRef<AvlNet.Region> inMapRoi, AvlNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inSpatialMap | AvlNet.SpatialMap | Definition of the transformation. | |||
inMapRoi | AvlNet.NullableRef<AvlNet.Region> | Defines which elements of the spatial map are valid. Default value: atl::NIL. | |||
outImage | AvlNet.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 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. |