An haar Feature: a collection of weighted HaarNode.
More...
#include <HaarFeature.h>
Inherits vector< HaarNode >.
Inherited by NormalizedHaarFeature.
|
| | HaarFeature (const HaarFeature &src, int scale, long offset, long stride) |
| |
|
const char * | debug_name () const |
| |
|
void | debug_name (const char *str) |
| |
|
void | invert_polarity () |
| | invert the sign of haar nodes (in order to simplify the decision stump)
|
| |
| int | response (const unsigned int *pIntImage, int stride) const |
| |
|
int | operator() (const unsigned int *pIntImage, int stride) const |
| |
| void | rescale (int sx, int sy) |
| |
An haar Feature: a collection of weighted HaarNode.
| HaarFeature::HaarFeature |
( |
const HaarFeature & |
src, |
|
|
int |
scale, |
|
|
long |
offset, |
|
|
long |
stride |
|
) |
| |
|
inline |
| void HaarFeature::rescale |
( |
int |
sx, |
|
|
int |
sy |
|
) |
| |
|
inline |
Rescale current feature using sx,sy scale factor
- Note
- due to particular architecture of this filter, only integral scale factor are alowed now use a fHaarFeature in order to take advantage of floating point rescaling
| int HaarFeature::response |
( |
const unsigned int * |
pIntImage, |
|
|
int |
stride |
|
) |
| const |
|
inline |
4527.99feat/sec, 4552.72feat/sec, 4722.2feat/sec Evaluate a single feature starting from pIntImage
| static std::string HaarFeature::signature |
( |
| ) |
|
|
inlinestatic |
The documentation for this struct was generated from the following file: