GetHaarClassifierSize

Returns the size of the Haar classifier.

Syntax

IppStatus ippiGetHaarClassifierSize_32f(IppiHaarClassifier_32f* pState, IppiSize* pSize);

IppStatus ippiGetHaarClassifierSize_32s(IppiHaarClassifier_32s* pState, IppiSize* pSize);

Parameters

pState
Pointer to the Haar classifier structure.
pSize
Pointer to the size of Haar classifier structure.

Description

The function ippiGetHaarClassifierSize is declared in the ippcv.h file. This function computes the minimum size of the window containing all features of the Haar classifier described by the pState.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if the pState pointer is NULL.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.