Specifications

Intel
®
Image Processing Library Reference Manual
11-18
11
GetAffineBound
Computes the bounding
rectangle for ROI transformed
by iplWarpAffine.
void iplGetAffineBound(IplImage*
image
, const double
coeffs
[2][3], double
rect
[2][2]);
image
The image to be passed to iplWarpAffine().
coeffs
The iplWarpAffine() transform coefficients.
rect
Output array: the coordinates of vertices of the
rectangle bounding the figure to which
iplWarpAffine() maps
image
’s ROI.
Discussion
The function iplGetAffineBound() computes the coordinates of vertices
of the smallest possible rectangle with horizontal and vertical sides that
bounds the figure to which
iplWarpAffine() maps
image
’s ROI.
GetAffineQuad
Computes the quadrangle to
which the image ROI would be
mapped by iplWarpAffine.
void iplGetAffineQuad(IplImage*
image
, const double
coeffs
[2][3], double
quad
[4][2]);
image
The image to be passed to iplWarpAffine().
coeffs
The affine transform coefficients.