I have a cv::Mat image of type CV\_16UC1 and I need it in CV\_8UC1, so I can run cv::integral on it. I am not worried about overflow during the conversion - essentially I just want to bulk convert the image from unsigned short to unsigned char.

I asked elsewhere and someone suggested [cvtColor](http://docs.opencv.org/modules/imgproc/doc/miscellaneous_transformations.html#cvtcolor), but I don't know what conversion code to use.