You are here: Start » AVL.NET » AVL.ConvertSpatialMap_ToNearest(AvlNet.SpatialMap, AvlNet.SpatialMap)
AVL.ConvertSpatialMap_ToNearest(AvlNet.SpatialMap, AvlNet.SpatialMap)
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void ConvertSpatialMap_ToNearest( AvlNet.SpatialMap inSpatialMap, out AvlNet.SpatialMap outSpatialMap )
Parameters
- inSpatialMap
- Type: AvlNet.SpatialMap
- outSpatialMap
- Type: AvlNet.SpatialMap
Description
This operation can be used to convert a SpatialMap using Bilinear interpolation to one using nearest neighbour interpolation. If the input SpatialMap is already nearest neighbour, it is returned unchanged.
Remarks
The compatible ImageFormat remains the same as for the input SpatialMap in any case.
This conversion is not reversible, because a SpatialMap with nearest Neighbour interpolation holds less information than one with Bilinear interpolation.
