Developer Reference

  • 2020
  • 10/21/2020
  • Public Content
Contents

TiltedIntegral

Transforms an image to the tilted integral representation.

Syntax

IppStatus ippiTiltedIntegral_8u32f_C1R(const Ipp8u*
pSrc
, int
srcStep
, Ipp32f*
pDst
, int
dstStep
, IppiSize
roiSize
, Ipp32f
val
);
IppStatus ippiTiltedIntegral_8u32s_C1R(const Ipp8u*
pSrc
, int
srcStep
, Ipp32s*
pDst
, int
dstStep
, IppiSize
roiSize
, Ipp32s
val
);
Include Files
ippcv.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
,
ippi.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
,
ippi.lib
Parameters
pSrc
Pointer to the source image ROI.
srcStep
Distance in bytes between starts of consecutive lines in the source image.
pDst
Pointer to the ROI in the destination integral image.
dstStep
Distance in bytes between starts of consecutive lines in the destination image.
roiSize
Size of source image ROI in pixels.
val
The value to add to pDst image pixels
Description
This function operates with ROI (see Regions of Interest in Intel IPP). This function transforms a source image
pSrc
to the tilted integral image
pDst
. Pixel values of the destination image
pDst
are computed using pixel values of the source image
pSrc
and the specified value
val
in accordance with the following formula:
where
i
,
j
are coordinates of the destination image pixels (see Figure
“Operation of the Integral and TiltedIntegral functions”
)varying in the range
i
= 2 ,...,
roiSize.height
+ 1,
j
= 0,...,
roiSize.width
+ 1. Pixel values of rows 0 and 1 of the destination image
pDst
(
i
=0) is set to
val
.
The size of the destination images is (
roiSize.width
+ 2) x (
roiSize.height
+ 2).
Figure
“Operation of the Integral and TiltedIntegral functions”
shows what pixels (red circles) of the source image are used in computation new pixel values in the
i
,
j
coordinates.
Return Values
ippStsNoEr
Indicates no error.
ippStsNullPtrErr
Indicates an error if
pSrc
or
pDst
is
NULL
.
ippStsSizeErr
Indicates an error condition if
roiSize
has a field with zero or negative value.
ippStsStepErr
Indicates an error condition if
srcStep
is less than
roiSize.width
*
<pixelSize>
, or
dstStep
is less than
(roiSize.width+2)
*
<pixelSize>
.
ippStsNotEvenStepErr
Indicates an error condition if one
dstStep
is not divisible by 4.

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 reserverd 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