Fixed error in IntegralImage, ask a question in GrayImage