Developer Reference

  • 2020
  • 07/15/2020
  • Public Content
Contents

GetAffineBound

Computes the bounding rectangle for the source ROI transformed by the
ippiWarpAffine
function.

Syntax

IppStatus ippiGetAffineBound (IppiRect
srcRoi
, double
bound
[2][2], const double
coeffs
[2][3]
);
Include Files
ippi.h
Flavors with the
_L
suffix:
ippi_l.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 affine transform coefficients.
Description
This function
is used as a support function for . It computes vertex coordinates of the smallest bounding rectangle for the quadrangle
quad
, to which the source ROI is mapped by the affine transform function using coefficients
coeffs
.
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.
ippStsCoeffErr
Indicates an error condition if c
00
*c
11
- c
01
*c
10
= 0.
ippStsSizeErr
Indicates an error condition if
srcRoi
has a size field with zero or negative value.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804