RemapImage


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

Applications:Fast (precomputed) image transformations, especially for view undistortion or object geometry correction (e.g. pos recognition of labels on cylindrical bottles).

Syntax

C++
C#
Python
 
def RemapImage(
	inImage: Image,
	inSpatialMap: SpatialMap,
	outImage: Image,
	/,
	*,
	inMapRoi: Region | None = None
)
-> None

Parameters

Name Type Default Description
Input value inImage Image Input image
Input value inSpatialMap SpatialMap Definition of the transformation
Input value inMapRoi Region | None None Defines which elements of the spatial map are valid
Output value outImage Image Output image

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.