Visible to Intel only — GUID: GUID-081E0260-2749-4944-8C5C-FFD962F55F3A
Visible to Intel only — GUID: GUID-081E0260-2749-4944-8C5C-FFD962F55F3A
GetBilinearBound
Computes the bounding rectangle for the source ROI transformed by the ippiWarpBilinear function.
Syntax
IppStatus ippiGetBilinearBound(IppiRect srcRoi, double bound[2][2], const double coeffs[2][4]);
Include Files
ippi.h
Domain Dependencies
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
Parameters
srcRoi |
Region of interest in the source image (of the IppiRect type). |
bound |
Output array. Contains vertex coordinates of the bounding rectangle for the transformed source ROI. |
coeffs |
The given bilinear transform coefficients. |
Description
This function operates with ROI (see ROI Processing in Geometric Transforms).
This functionis used as a support function for ippiWarpBilinear. It computes vertex coordinates of the smallest bounding rectangle for the quadrangle quad, to which the source ROI is mapped by the bilinear transform function ippiWarpBilinear using coefficientscoeffs.
bound[0] specifies x, y coordinates of the top-left corner, bound[1] specifies x, y coordinates of the bottom-right corner.
Return Values
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsSizeErr |
Indicates an error condition if srcRoi has a size field with zero or negative value. |
ippStsCoeffErr |
Indicates an error condition if coefficient values are invalid. |