Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Spatial Transforms » CreateAffineTransformMatrix
CreateAffineTransformMatrix
Creates affine transform matrix matrix. Return product of matrices: Translation * Rotation * Scale * Shearing.
Syntax
C++
C#
void avl::CreateAffineTransformMatrix ( const atl::real& inScaleX, const atl::real& inScaleY, const avl::Vector2D& inTranslation, const atl::real& inRotation, const atl::real& inShearingX, const atl::real& inShearingY, avl::Matrix& outTransformMatrix )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inScaleX | const real& | - - ![]() |
1.0f | Image scale in X axis |
![]() |
inScaleY | const real& | - - ![]() |
1.0f | Image scale in Y axis |
![]() |
inTranslation | const Vector2D& | Image translation | ||
![]() |
inRotation | const real& | 0.0f | Image rotation in degree | |
![]() |
inShearingX | const real& | - - ![]() |
Shearing in X axis coefficient | |
![]() |
inShearingY | const real& | - - ![]() |
Shearing in Y axis coefficient | |
![]() |
outTransformMatrix | Matrix& | Return product of matrices: Translation * Rotation * Scale * Shearing |


- 