GetBilinearQuad

Get bilinear quadrangle vertices

Synopsis

FwStatus   fwiGetBilinearQuad ( FwiRect srcRoidouble quad[4][2]const double coeffs[2][4] );

Parameters

coeffs[2][4]   Coefficients for Warp Affine Bilinear transform.
quad[4][2]   Quadrangle vertex coordinates.
srcRoi   Source image ROI.

Description

This function is used with the GetBilinearBound function. It computes the vertex coordinates of the quadrangular destination ROI for the WarpBilinearQuad functions.

Quad[0] contains the top right x and y coordinates

Quad[1] contains the top left x and y coordinates

Quad[2] contains the bottom right x and y coordinates

Quad[3] contains the bottom left x and y coordinates