/* IplImage* Integral(IplImage* img, int width, int height) { unsigned long *columnSum = new unsigned long[width]; // sum of each column // calculate integral of the first line for(int i=0;i0) { outputMatrix[i] += outputMatrix[i-1]; } } for (int i=1;i