GetPerspectiveBound

Get perspective boundary

Synopsis

FwStatus   fwiGetPerspectiveBound ( FwiRect srcRoidouble bound[2][2]const double coeffs[3][3] );

Parameters

bound[2][2]   Boundary rectangle vertex coordinates for a transformed source ROI.
coeffs[3][3]   Coefficients for Warp Affine Perspective transform.
srcRoi   Source image ROI.

Description

This function is used with the GetPerspectiveQuad function. It computes the boundaries of the source ROI for the WarpPerspectiveQuad functions.

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

Bound[1] contains the bottom left x and y coordinates