InvAffineTrans

Affine transformation

int InvAffineTrans(
        const IMAGE             *srcImage,
        const FIG_HEADER        *figure,
        const int               accuracy,
        const AFINPARA  *afin,
        IMAGE                   *destImage
)

Parameters
**srcImage
Input image data structure address
*figure
Figure data structure address
accuracy
Scroll precision
0: Normal
1: Precise
*afin
Affine transformation structure
*destImage
Output image data structure address

Return Value
NORMAL(0): Successful completion
ERROR(-1): Unsuccessful completion

Description
Scrolls the input image according to the given affine parameter.
There are two types of scroll: no interpolation and linear interpolation.
The linear interpolation creates the image after scroll smoothing, but slows down the processing.

Notes