You are here: Start » AVL.NET » 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.Region inMapRoi,
	out AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inSpatialMapAvlNet.SpatialMapDefinition of the transformation.
inMapRoiAvlNet.RegionDefines which elements of the spatial map are valid. Default value: atl::NIL, or null.
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.

Errors

Error type Description
DomainError Incorrect SpatialMap on input in RemapImage.

See also