title: How to convert CvMat* to cv::Mat in OpenCV3.0
body: <p>In opencv2.4.10 which I used before, conversion from CvMat* to cv::Mat can be done as below.</p>
  
  <pre><code>CvMat *src = ...;
  cv::Mat dst;
  dst = cv::Mat(src);
  </code></pre>
  
  <p>However, in opencv3.0 rc1 cannot convert like this.
  In certain website, this conversion can be done as below.</p>
  
  <pre><code>CvMat* src = ...;
  cv::Mat dst;
  dst = cv::Mat(src-&gt;rows, src-&gt;cols, src-&gt;type, src-&gt;data.*);
  </code></pre>
  
  <p>If type of src is 'float', the last argument is 'src->data.fl'.</p>
  
  <p>Why constructor of cv::Mat is decreased?
  Or are there some methods about conversion from CvMat* to cv::Mat?</p>