Back to Adaptive Vision Library website

You are here: Start » Function Reference » Image Spatial Transforms » TransformImage

TransformImage


Transforms an image by the provided transformation matrix.

Header:AVL.h

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
)

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.