title: how to convert multidimensional c++ array into openCV form?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/12617308/copy-data-from-one-matrix-to-another">copy data from one matrix to another</a>  </p>
  </blockquote>
  
  
  
  <p>I have an array in c++ like this:</p>
  
  <pre><code>double myValue[600][800][3];
  </code></pre>
  
  <p>and I want to convert it into openCV multidimensional matrix or scalar form. I tried doing something like this:</p>
  
  <pre><code>double size[] = {600, 800};
  cv::Mat myValue (size, 3, CV_8UC3 );
  </code></pre>
  
  <p>But it is wrong, could someone help me? </p>