opencv matconvert color code example
Example: opencv rgb to gray custom
cv::transform(white_balance_image, i_test_base, cv::Matx13f(0.114, 0.587, 0.299));
cv::transform(white_balance_image, i_test_base, cv::Matx13f(0.114, 0.587, 0.299));