Get perspective boundary
FwStatus | fwiGetPerspectiveBound | ( | FwiRect srcRoi, double bound[2][2], const double coeffs[3][3] ); |
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. |
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