ConvertMatrixMapsToSpatialMap


Joins two matrices of coordinates to produce a SpatialMap for use in RemapImage.

Syntax

C++
C#
Python
 
def ConvertMatrixMapsToSpatialMap(
	inImageFormat: ImageFormat,
	inMatrixX: Matrix,
	inMatrixY: Matrix,
	outSpatialMap: SpatialMap,
	/,
	*,
	inInterpolationMethod: InterpolationMethod = InterpolationMethod.Bilinear,
	inRoundingOpenCV: bool = False,
	outOutputRegion: Region | None = None
)
-> None

Parameters

Name Type Default Description
Input value inImageFormat ImageFormat Information about dimensions, depth and pixel type of the image
Input value inMatrixX Matrix Map of real X coordinates
Input value inMatrixY Matrix Map of real Y coordinates
Input value inInterpolationMethod InterpolationMethod InterpolationMethod.Bilinear
Input value inRoundingOpenCV bool False Use same interpolation convention as cvRemap
Output value outSpatialMap SpatialMap Output spatial map
Output value outOutputRegion Region | None None Pixels set by the spatial map application