sqrt method

Mat sqrt()

Calculates a square root of array elements.

Implementation

Mat sqrt() {
  cvAssert(type.depth == MatType.CV_32F || type.depth == MatType.CV_64F);
  final dst = Mat.empty();
  cvRun(() => ccore.cv_Mat_sqrt(ref, dst.ref, ffi.nullptr));
  return dst;
}