Hm, I don't understand that... integral_image would return a double image as well in that case.