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 | |
|---|---|---|---|---|
![]() |
inImageFormat | ImageFormat | Information about dimensions, depth and pixel type of the image | |
![]() |
inMatrixX | Matrix | Map of real X coordinates | |
![]() |
inMatrixY | Matrix | Map of real Y coordinates | |
![]() |
inInterpolationMethod | InterpolationMethod | InterpolationMethod.Bilinear | |
![]() |
inRoundingOpenCV | bool | False | Use same interpolation convention as cvRemap |
![]() |
outSpatialMap | SpatialMap | Output spatial map | |
![]() |
outOutputRegion | Region | None | None | Pixels set by the spatial map application |


