First time here? Check out the FAQ!
answered 2014-10-31 06:02:37 -0600
cv::cvtColor is your friend:
cv::cvtColor(gray_img,color_img,CV_GRAY2BGR)