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);
The function ippiTiltHaarFeatures is declared in the ippcv.h file. This function tilts specified features of the Haar classifier created by the function ippiHaarClassifierInitAlloc. Non-zero elements of previously prepared vector pMask indicates the features that will be tilted. The flag parameter specifies how the features are tilted: if its value is equal to 0, the feature is tilted around the left top corner clockwise, if it 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 condition if one of the specified pointer is NULL. |
ippStsBadArgErr |
Indicates an error condition if the classifier is tilted already. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.