You are here: Start » AVL.NET » Function Reference » Image » Image Spatial Transforms Maps » AVL.RemapImage

AVL.RemapImage

Applies a precomputed image transform, defined by a spatial map object.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RemapImage
(
	AvlNet.Image inImage,
	AvlNet.SpatialMap inSpatialMap,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inSpatialMapAvlNet.SpatialMapDefinition of the transformation.
outImageAvlNet.ImageOutput 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

Read more about how to handle images from camera in CameraCalibration article.

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.

Function Overrides

See also