title: How can I assign values to a opencv matrix Mat?
body: <p>For example, I have a 2by3 matrix [1,0,5;1,0,-5], and a Mat trans_mat( 2, 3, CV_32FC1).</p>
  
  <p>How can I assign those values to the trans_mat matrix?</p>