EasyImage::LinearTransform

Applies a general affine transformation.

Namespace: Euresys::Open_eVision

[C++]

void LinearTransform(
   EROIBW8* sourceImage,
   float Axx,
   float Axy,
   float Ax,
   float Ayx,
   float Ayy,
   float Ay,
   EROIBW8* destinationImage,
   int interpolationBits
)

void LinearTransform(
   EROIBW16* sourceImage,
   float Axx,
   float Axy,
   float Ax,
   float Ayx,
   float Ayy,
   float Ay,
   EROIBW16* destinationImage,
   int interpolationBits
)

void LinearTransform(
   EROIC24* sourceImage,
   float Axx,
   float Axy,
   float Ax,
   float Ayx,
   float Ayy,
   float Ay,
   EROIC24* destinationImage,
   int interpolationBits
)

Parameters

sourceImage

Pointer to the source image/ROI.

Axx

See formula below.

Axy

See formula below.

Ax

See formula below.

Ayx

See formula below.

Ayy

See formula below.

Ay

See formula below.

destinationImage

Pointer to the destination image/ROI.

interpolationBits

Number of bits of accuracy for interpolation. Allowed values are 0 (no interpolation, nearest neighbor), 4 (linear interpolation) or 8 (cubic interpolation).

Remarks

An affine transformation is an important class of linear 2D geometric transformations which maps variables (e.g. pixel intensity values located at position (XSrc, YSrc) in an input image) into new variables (e.g. (XDst, YDst) in an output image) by applying a linear combination of translation, rotation, scaling and/or shearing (i.e. non-uniform scaling in some directions) operations.
The parameters of the EasyImage::LinearTransform function are the coefficients of the affine equations below:

XDst = AxxXSrc + AxyYSrc + Ax

YDst = AyxXSrc + AyyYSrc + Ay

EasyImage.LinearTransform

Applies a general affine transformation.

Namespace: Euresys.Open_eVision

[C#]

void LinearTransform(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   float Axx,
   float Axy,
   float Ax,
   float Ayx,
   float Ayy,
   float Ay,
   Euresys.Open_eVision.EROIBW8 destinationImage,
   int interpolationBits
)

void LinearTransform(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   float Axx,
   float Axy,
   float Ax,
   float Ayx,
   float Ayy,
   float Ay,
   Euresys.Open_eVision.EROIBW16 destinationImage,
   int interpolationBits
)

void LinearTransform(
   Euresys.Open_eVision.EROIC24 sourceImage,
   float Axx,
   float Axy,
   float Ax,
   float Ayx,
   float Ayy,
   float Ay,
   Euresys.Open_eVision.EROIC24 destinationImage,
   int interpolationBits
)

Parameters

sourceImage

Pointer to the source image/ROI.

Axx

See formula below.

Axy

See formula below.

Ax

See formula below.

Ayx

See formula below.

Ayy

See formula below.

Ay

See formula below.

destinationImage

Pointer to the destination image/ROI.

interpolationBits

Number of bits of accuracy for interpolation. Allowed values are 0 (no interpolation, nearest neighbor), 4 (linear interpolation) or 8 (cubic interpolation).

Remarks

An affine transformation is an important class of linear 2D geometric transformations which maps variables (e.g. pixel intensity values located at position (XSrc, YSrc) in an input image) into new variables (e.g. (XDst, YDst) in an output image) by applying a linear combination of translation, rotation, scaling and/or shearing (i.e. non-uniform scaling in some directions) operations.
The parameters of the EasyImage::LinearTransform function are the coefficients of the affine equations below:

XDst = AxxXSrc + AxyYSrc + Ax

YDst = AyxXSrc + AyyYSrc + Ay