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

Sum of a rectangular area, implemented on top of Integral Image. More...

#include <SumAreaFeature.h>

Public Types

typedef unsigned int InputDataType
 type of data requested by this Feature Extractor
 
typedef int DescriptorType
 type of data returned by this feature extractor
 

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)
 

Static Public Member Functions

static std::string signature ()
 

Public Attributes

int x0
 
int y0
 
int x1
 
int y1
 

Detailed Description

Sum of a rectangular area, implemented on top of Integral Image.

Member Function Documentation

void SumAreaFeature::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 SumAreaFeature::signature ( )
inlinestatic

weak classifier name

Member Data Documentation

int SumAreaFeature::x0

integral image nodes output = SUM (X0+1 -> X1) (Y0+1 -> Y1)


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