Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Spatial Transforms Maps » CreateMatrixTransformMap
CreateMatrixTransformMap
Creates a spatial map which performs transform defined as a matrix.
Syntax
C++
C#
void avl::CreateMatrixTransformMap ( const avl::ImageFormat& inImageFormat, const atl::Optional<avl::Region>& inRoi, const avl::Matrix& inTransformMatrix, const atl::Optional<avl::Size>& inNewSize, avl::InterpolationMethod::Type inInterpolationMethod, avl::SpatialMap& outSpatialMap )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inImageFormat | const ImageFormat& | |||
inRoi | const Optional<Region>& | NIL | Range of pixels to be processed | |
inTransformMatrix | const Matrix& | 3x3 transform matrix. | ||
inNewSize | const Optional<Size>& | NIL | New image size after remapping | |
inInterpolationMethod | InterpolationMethod::Type | Interpolation method used in extraction of image pixel values | ||
outSpatialMap | SpatialMap& | Calculated spatial map |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Errors
Error type | Description |
---|---|
DomainError | Input transformation matrix must have dimensions 3 x 3 in CreateMatrixTransformMap. |