title: how to apply sin() to all elements in an opencv Mat
body: <p>I have an opencv Mat, how can I apply sin() to all of its elements?
  Is it necessary to use a loop to get each element and calculate the sin one by one?
  Regards.</p>