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

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

#include <IntegralChannelFeature.h>

Public Types

enum  { InvokeParam = 2 }
 
typedef unsigned int InputDataType
 type of data requested by this Feature Extractor
 
typedef
OptimizedIntegralChannelFeature 
OptimizedType
 The feature type used during fast execution:
 
typedef int DescriptorType
 type of data returned by this feature extractor
 

Public Member Functions

 IntegralChannelFeature (const IntegralChannelFeature &src, int scale, long offset, long stride)
 
void invert_polarity ()
 
const char * debug_name ()
 
int response (const unsigned int *pIntImage, const std::pair< int32_t, int32_t > &params) const
 
void rescale (int sx, int sy)
 

Static Public Member Functions

static void debug_name (const char *str)
 
static std::string signature ()
 

Public Attributes

int x0
 
int y0
 
int x1
 
int y1
 
int channel
 channel identifier
 

Detailed Description

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

Constructor & Destructor Documentation

IntegralChannelFeature::IntegralChannelFeature ( const IntegralChannelFeature src,
int  scale,
long  offset,
long  stride 
)
inline

Member Function Documentation

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

weak classifier name

Member Data Documentation

int IntegralChannelFeature::x0

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


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