log function

Mat log(
  1. InputArray src, {
  2. OutputArray? dst,
})

Log calculates the natural logarithm of every array element.

For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga937ecdce4679a77168730830a955bea7

Implementation

Mat log(InputArray src, {OutputArray? dst}) {
  dst ??= Mat.empty();
  cvRun(() => ccore.Mat_Log(src.ref, dst!.ref));
  return dst;
}