Back to Aurora Vision Library website
You are here: Start » Function Reference » Image » Image Spatial Transforms Maps » ConvertSpatialMap
ConvertSpatialMap
| Header: | AVL.h |
|---|---|
| Namespace: | avl |
| Module: | Calibration |
Converts a spatial map to a different format.
Syntax
C++
C#
void avl::ConvertSpatialMap ( const avl::SpatialMap& inSpatialMap, atl::Optional<avl::PlainType::Type> inNewPixelType, atl::Optional<int> inNewDepth, const int inNewPitchAlignment, avl::SpatialMap& outSpatialMap )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inSpatialMap | const SpatialMap& | |||
![]() |
inNewPixelType | Optional<PlainType::Type> | NIL | ||
![]() |
inNewDepth | Optional<int> | 1 - 4 | NIL | |
![]() |
inNewPitchAlignment | const int | 0 - +![]() |
16 | |
![]() |
outSpatialMap | SpatialMap& |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Incorrect inSpatialMap map in ConvertSpatialMap. |



