title: opencv function transpose() giving false results, memory leak?
body: <p>I have a matrix of integer data type having dimensions 100 x 7000. I want to transpose it. I've used transpose() function from opencv library. but it gives the false results. Most of the values becomes floating point numbers and very high, which are not present in the original matrix. Here is my code</p>
  
  <p><code>cv::Mat data; //data matrix with integer values, dimension is 100 x 7000
   cv::Mat data_tp = cv::Mat(data.cols, data.rows, CV_32F);
   cv::transpose(data, data_tp);</code></p>
  
  <p>I think this might be the problem of memory leak or any sort of memory mismanagement. because this is just a part of a big code. Any tips regarding the memory management or anyone else faced this issue??</p>