Developer Reference for Intel® Integrated Performance Primitives
Modifies a Haar classifier by tilting specified features.
IppStatus ippiTiltHaarFeatures_32f(const Ipp8u* pMask, int flag, IppiHaarClassifier_32f* pState);
IppStatus ippiTiltHaarFeatures_32s(const Ipp8u* pMask, int flag, IppiHaarClassifier_32s* pState);
ippcv.h
Headers: ippcore.h, ippvm.h, ipps.h, ippi.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib, ippi.lib
This function tilts specified features of the Haar classifier. Before using this function, compute the size of the Haar classifier state structure using HaarClassifierGetSize and initialize the structure using TiltedHaarClassifierInit. Non-zero elements of previously prepared vector pMask indicates the features that are tilted. The flag parameter specifies how the features are tilted:
if flag is equal to 0, the feature is tilted around the left top corner clockwise
if flag is equal to 1, the feature is tilted around the bottom left corner counter-clockwise
This mixed classifier containing both common and tilted features can be used by the function ippiApplyMixedHaarClassifier.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when one of the specified pointers is NULL. |
ippStsBadArgErr |
Indicates an error when the classifier is tilted already. |