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
Input value inSpatialMap const SpatialMap&
Input value inNewPixelType Optional<PlainType::Type> NIL
Input value inNewDepth Optional<int> 1 - 4 NIL
Input value inNewPitchAlignment const int 0 - + 16
Output value outSpatialMap SpatialMap&

Errors

List of possible exceptions:

Error type Description
DomainError Incorrect inSpatialMap map in ConvertSpatialMap.