Back to FabImage Library website
You are here: Start » Function Reference » Image » Image Spatial Transforms » TransformImage
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Transforms an image by the provided transformation matrix.
Syntax
C++
C#
void fil::TransformImage ( const fil::Image& inImage, const fil::Matrix& inTransformMatrix, const bool inInverse, const fil::InterpolationMethod::Type& inInterpolation, fil::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
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Input transformation matrix must have dimensions 3x3 in TransformImage. |
DomainError | Unable to transform image with provided parameters TransformImage. |