Back to FabImage Library website

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

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
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.