First time here? Check out the FAQ!
answered 2014-01-17 04:17:32 -0600
Try:
Mat img_mean = image * 0.5 + image2 * 0.5;
If I am wrong, then read docs cv::Mat (overloading operators section)
cv::Mat