edgePreservingFilterAsync function

Future<Mat> edgePreservingFilterAsync(
  1. InputArray src, {
  2. int flags = 1,
  3. double sigmaS = 60,
  4. double sigmaR = 0.4,
})

Implementation

Future<Mat> edgePreservingFilterAsync(
  InputArray src, {
  int flags = 1,
  double sigmaS = 60,
  double sigmaR = 0.4,
}) async {
  final dst = Mat.empty();
  return cvRunAsync0(
    (callback) => cphoto.cv_edgePreservingFilter(src.ref, dst.ref, flags, sigmaS, sigmaR, callback),
    (c) {
      return c.complete(dst);
    },
  );
}