Developer Reference for Intel® Integrated Performance Primitives 2018

LBPImageHorizCorr

Calculates a correlation between two LBPs.

Syntax

IppStatus ippiLBPImageHorizCorr_<mod>(const Ipp<datatype>* pSrc1, int src1Step, const Ipp<datatype>* pSrc2, int src2Step, Ipp<datatype>* pDst, int dstStep, IppiSize dstRoiSize, int horShift, IppiBorderType borderType, const Ipp<datatype>* borderValue);

Supported values for mod:

8u_C1R 16u_C1R

Include Files

ippi.h

Domain Dependencies

Headers: ippcore.h, ippvm.h, ipps.h

Libraries: ippcore.lib, ippvm.lib, ipps.lib

Parameters

pSrc1, pSrc2

Pointers to the source image ROI.

src1Step, src2Step

Distance, in bytes, between the starting points of consecutive lines in the source image.

pDst

Pointer to the destination image ROI.

dstStep

Distance, in bytes, between the starting points of consecutive lines in the destination image.

dstRoiSize

Size of the destination ROI in pixels.

horShift

Horizontal shift of the pSrc2 image.

borderType

Type of border. Possible values are:

ippBorderRepl

Border is replicated from the edge pixels.

ippBorderInMem

Border is obtained from the source image pixels in memory.

Mixed borders are also supported. They can be obtained by the bitwise operation OR between ippBorderRepl and ippBorderInMemTop, ippBorderInMemBottom, ippBorderInMemLeft, ippBorderInMemRight.

borderValue

Constant value to assign to pixels of the constant border. This parameter is applicable only to the ippBorderConst border type.

Description

This function operates with ROI.

This function calculates the difference between two LBP images. The result is stored in the pDst destination image.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when one of the specified pointers is NULL.

ippStsSizeErr

Indicates an error if dstRoiSize has a field with zero or negative value.

ippStsBadArgErr

Indicates an error when border has an illegal value.

Example

LBPImageHorizCorr.c

See Also