Back to Aurora Vision Library website

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

TransformImage


Header: AVL.h
Namespace: avl
Module: FoundationLite

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
)

Parameters

Name Type Default Description
Input value inImage const Image& Input image
Input value inTransformMatrix const Matrix& Transform matrix
Input value inInverse const bool
Input value inInterpolation const InterpolationMethod::Type& Image quality
Output value 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.