X-Boost  2.3.8
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
NormalizedHaarFeature Struct Reference

A rationale haar feature. More...

#include <NormalizedHaarFeature.h>

Inherits HaarFeature.

Public Types

typedef unsigned int InputDataType
 type of data requested by this Feature Extractor
 
- Public Types inherited from HaarFeature
enum  { InvokeParam = 2 }
 
typedef unsigned int InputDataType
 type of data requested by this Feature Extractor
 
typedef int DescriptorType
 type of data returned by this feature extractor
 
typedef CollapsedHaarFeature OptimizedType
 the feature used during the application in fast app
 

Public Member Functions

int response (const unsigned int *pIntImage, int stride) const
 
int operator() (const unsigned int *pIntImage, int stride) const
 
void rescale (int sx, int sy)
 
- Public Member Functions inherited from HaarFeature
 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)
 

Static Public Member Functions

static std::string signature ()
 
- Static Public Member Functions inherited from HaarFeature
static std::string signature ()
 

Public Attributes

int width
 roi
 
int height
 
- Public Attributes inherited from HaarFeature
const char * name
 

Detailed Description

A rationale haar feature.

Member Function Documentation

void NormalizedHaarFeature::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
static std::string NormalizedHaarFeature::signature ( )
inlinestatic

weak classifier name


The documentation for this struct was generated from the following file: