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