You are here: Start » AVL.NET » AVL.RemapImage(AvlNet.Image, AvlNet.SpatialMap, AvlNet.Region, AvlNet.Image)
AVL.RemapImage(AvlNet.Image, AvlNet.SpatialMap, AvlNet.Region, AvlNet.Image)
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, AvlNet.Region inMapRoi, out AvlNet.Image outImage )
Parameters
- inImage
- Type: AvlNet.Image
Input image - inSpatialMap
- Type: AvlNet.SpatialMap
Definition of the transformation - inMapRoi
- Type: AvlNet.Region
Defines which elements of the spatial map are valid, or null. - outImage
- Type: 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.
Errors
| Error type | Description |
|---|---|
| DomainError | Incorrect SpatialMap on input in RemapImage. |
