You are here: Start » AVL.NET » AVL.ConvertMatrixMapsToSpatialMap(AvlNet.ImageFormat, AvlNet.Matrix, AvlNet.Matrix, AvlNet.InterpolationMethod, bool, AvlNet.SpatialMap, AvlNet.Region)
AVL.ConvertMatrixMapsToSpatialMap(AvlNet.ImageFormat, AvlNet.Matrix, AvlNet.Matrix, AvlNet.InterpolationMethod, bool, AvlNet.SpatialMap, AvlNet.Region)
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void ConvertMatrixMapsToSpatialMap( AvlNet.ImageFormat inImageFormat, AvlNet.Matrix inMatrixX, AvlNet.Matrix inMatrixY, AvlNet.InterpolationMethod inInterpolationMethod, bool inRoundingOpenCV, out AvlNet.SpatialMap outSpatialMap, out AvlNet.Region outOutputRegion )
Parameters
- inImageFormat
- Type: AvlNet.ImageFormat
- inMatrixX
- Type: AvlNet.Matrix
- inMatrixY
- Type: AvlNet.Matrix
- inInterpolationMethod
- Type: AvlNet.InterpolationMethod
- inRoundingOpenCV
- Type: System.Boolean
- outSpatialMap
- Type: AvlNet.SpatialMap
- outOutputRegion
- Type: AvlNet.Region
Remarks
The two source matrices contain real-valued coordinates - if inMatrixX[a, b] = x and inMatrixY[a, b] = y, then the RemapImage filter applied with this map will generate the outImage[a, b] pixel based on pixels around (x, y) in inImage.
Errors
| Error type | Description |
|---|---|
| DomainError | Input matrices must have equal sizes in ConvertMatrixMapsToSpatialMap. |
| DomainError | Format of an empty image on input in ConvertMatrixMapsToSpatialMap. |
