21 #ifndef __lfeat_wavefilter_h
22 #define __lfeat_wavefilter_h
34 double getWx(
unsigned int x,
unsigned int y);
35 double getWy(
unsigned int x,
unsigned int y);
39 double getSum(
unsigned int x,
unsigned int y,
int scale);
40 double getWx(
unsigned int x,
unsigned int y,
int scale);
41 double getWy(
unsigned int x,
unsigned int y,
int scale);
66 #define CALC_INTEGRAL_SURFACE(II, STARTX, ENDX, STARTY, ENDY) \
67 (II[ENDY+1][ENDX+1] + II[STARTY][STARTX] - II[ENDY+1][STARTX] - II[STARTY][ENDX+1])
107 return ( x > _wave_1 && x + _wave_1 < (
int)
_im_width - 1
108 && y > _wave_1 && y + _wave_1 < (
int)
_im_height - 1);
113 #endif //__lfeat_wavefilter_h
bool checkBounds(int x, int y) const
WaveFilter(double iBaseSize, Image &iImage)
double ** getIntegralImage()
double getWy(unsigned int x, unsigned int y)
double getWx(unsigned int x, unsigned int y)
double getSum(unsigned int x, unsigned int y, int scale)
#define CALC_INTEGRAL_SURFACE(II, STARTX, ENDX, STARTY, ENDY)