pow function

Mat pow(
  1. InputArray src,
  2. double power, {
  3. OutputArray? dst,
})

Pow raises every array element to a power.

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

Implementation

Mat pow(InputArray src, double power, {OutputArray? dst}) {
  dst ??= Mat.empty();
  cvRun(() => ccore.Mat_Pow(src.ref, power, dst!.ref));
  return dst;
}