|
X-Boost
2.3.8
|
an optimized HaarFeature More...
#include <CollapsedHaarFeature.h>
Public Types | |
| typedef CollapsedHaarFeature | OptimizedType |
Public Member Functions | |
| CollapsedHaarFeature (const HaarFeature &src, int scale, long offset, long stride) | |
| CollapsedHaarFeature (const HaarFeature &src, int offset, const IntegralImageParams &p) | |
| CollapsedHaarFeature (const HaarFeature &src, long offset, long stride) | |
| void | invert_polarity () |
| invert the sign of haar nodes (in order to simplify the decision stump) | |
| int | debug (const unsigned int *pIntImage) const |
| int | response (const unsigned int *pIntImage) const |
| compute the response | |
| int | operator() (const unsigned int *pIntImage) const |
Public Attributes | |
| std::vector< CollapsedHaarNode > | m_nodes |
an optimized HaarFeature
|
inline |
compute an optimized version from an HaarFeature TODO: separate scale and offset+stride
|
inline |
compute an optimized version from an HaarFeature
1.8.7