Specifications

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