gray to rgb code example
Example 1: gray rgb code
// Gray RGB
rgb(128, 128, 128)
// This is because right now you basically get
// a grayscale color because all values are the same
Example 2: cvtcolor rgb to gray
cv::Mat img
cv::cvtColor(img, img, CV_BGR2GRAY);