title: OpenCV Mat::ones function
body: <p>According to the docs, this function should return a <code>Mat</code> with all elements as ones.</p>
  
  <pre><code>Mat m = Mat::ones(2, 2, CV_8UC3);
  </code></pre>
  
  <p>I was expecting to get a 2x2 matrix of <code>[1,1,1]</code>. Instead, I got this:</p>
  
  <pre><code>[1, 0, 0] [1, 0, 0]
  [1, 0, 0] [1, 0, 0]
  </code></pre>
  
  <p>Is this the expected behaviour?</p>