Developer Reference for Intel® Integrated Performance Primitives 2018
Calculates LBP of the image according to the specified mode.
IppStatus ippiLBPImageMode3x3_<mod>(const Ipp<srcDatatype>* pSrc, int srcStep, Ipp<dstDatatype>* pDst, int dstStep, IppiSize dstRoiSize, int mode, IppiBorderType borderType, const Ipp<srcDatatype>* borderValue);
Supported values for mod:
8u_C1R | 32f8u_C1R |
IppStatus ippiLBPImageMode5x5_<mod>(const Ipp<srcDatatype>* pSrc, int srcStep, Ipp<dstDatatype>* pDst, int dstStep, IppiSize dstRoiSize, int mode, IppiBorderType borderType, const Ipp<srcDatatype>* borderValue);
8u_C1R | 8u16u_C1R | 32f8u_C1R | 32f16u_C1R |
ippi.h
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
pSrc |
Pointer to the source image ROI. |
||||
srcStep |
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. |
||||
mode |
Mode for LBP calculation. Supported values are 0, 1, 2, 3. |
||||
borderType |
Type of border. Possible values are:
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. |
These functions operate with ROI (see Regions of Interest in Intel IPP).
The ippiLBPImageMode3x3 and ippiLBPImageMode5x5 functions calculate LBP of the pSrc image ROI according to the mode value. The result is stored in the pDst destination image.
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 a zero or negative value. |
ippStsBadArgErr |
Indicates an error when border has an illegal value. |