Back to Adaptive Vision Library websiteYou are here:
Start »
Function Reference »
Image Spatial Transforms »
TransformImage
Transforms an image by the provided transformation matrix.
Syntax
C++
C#
void avl::TransformImage
(
const avl::Image& inImage,
const avl::Matrix& inTransformMatrix,
const bool& inInverse,
const avl::InterpolationMethod::Type& inInterpolation,
avl::Image& outImage
)
void TransformImage
(
Image inImage,
Matrix inTransformMatrix,
bool inInverse,
InterpolationMethod inInterpolation,
out Image outImage
)
Parameters
|
Name |
Type |
Default |
Description |
 |
inImage |
const Image& |
|
Input image |
 |
inTransformMatrix |
const Matrix& |
|
Transform matrix |
 |
inInverse |
const bool& |
|
|
 |
inInterpolation |
const InterpolationMethod::Type& |
|
Image quality |
 |
outImage |
Image& |
|
Output image |
Errors
| Error type |
Description |
| DomainError |
Input transformation matrix must have dimensions 3 x 3 in TransformImage. |
| DomainError |
Unable to transform image with provided parameters TransformImage. |