21 #ifndef __lfeat_boxfilter_h
22 #define __lfeat_boxfilter_h
37 void setY(
unsigned int y);
88 double aCorrectFactor = 9.0 / (iBaseSize * iBaseSize);
92 _lxy_d2 = ((int)(iBaseSize * 3) - 1) / 2 - 1;
102 #define CALC_INTEGRAL_SURFACE(II, STARTX, ENDX, STARTY, ENDY) \
103 (II[ENDY+1][ENDX+1] + II[STARTY][STARTX] - II[ENDY+1][STARTX] - II[STARTY][ENDX+1])
130 #undef CALC_INTEGRAL_SURFACE
163 #endif //__lfeat_boxfilter_h
unsigned int _y_minus_lxx_y_bottom
unsigned int _y_plus_lxx_x_right
BoxFilter(double iBaseSize, Image &iImage)
misc math function & classes used by other parts of the program
#define CALC_INTEGRAL_SURFACE(II, STARTX, ENDX, STARTY, ENDY)
double getDyyWithX(unsigned int x) const
unsigned int _y_minus_lxy_d2
double getDetWithX(unsigned int x) const
bool checkBounds(int x, int y) const
void setY(unsigned int y)
double getDxyWithX(unsigned int x) const
double ** getIntegralImage()
unsigned int _y_plus_lxx_x_mid
double getDxxWithX(unsigned int x) const
unsigned int _y_minus_lxx_x_mid
unsigned int _y_minus_lxx_x_right
unsigned int _y_plus_lxy_d2
unsigned int _y_plus_lxx_y_bottom