Specifications
Geometric Transforms
11-19
11
quad
Output array: coordinates of the quadrangle to
which the
image
’s ROI would be mapped by
iplWarpAffine().
Discussion
The function iplGetAffineQuad() computes coordinates of the
quadrangle to which the
image
’s ROI would be mapped by
iplWarpAffine() with the transform coefficients
coeffs
.
GetAffineTransform
Computes the iplWarpAffine
coefficients, given the ROI-
quadrangle pair.
void iplGetAffineTransform(IplImage*
image
, double
coeffs
[2][3], const double
quad
[4][2]);
image
The image to be passed to iplWarpAffine().
coeffs
Output array: the affine transform coefficients.
quad
Coordinates of the 4 points to which the
image
’s
ROI vertices would be mapped by
iplWarpAffine().
Discussion
The function iplGetAffineTransform() computes the coefficients of
iplWarpAffine() transform, given the vertices of the quadrangle to
which the
image
’s ROI would be mapped by iplWarpAffine() with
these coefficients.