title: OpenCV read image from csv file
body: <p>I have image in csv file and i want to load it in my program. I found that I can load image from cvs like this:</p>
  
  <pre><code>CvMLData mlData;
  mlData.read_csv(argv[1]);
  const CvMat* tmp = mlData.get_values();
  cv::Mat img(tmp, true),img1;
  
  img.convertTo(img, CV_8UC3);
  cv::namedWindow("img");
  cv::imshow("img", img);
  </code></pre>
  
  <p>I have RGB picture in that file but I got grey picture...  Can somebody explain me how to load color image or how can I modify this code to get color image?
  Thanks!</p>