First time here? Check out the FAQ!
answered 2012-08-02 13:54:41 -0600
It looks like you are doing exactly what cv::accumulate does as mentioned in your last question
If you look at the documentation, the Output Array has to be a CV_32F or CV_64F, but the inputs can be 8bit or 16 bit.