fastNlMeansDenoisingAsync function

Future<Mat> fastNlMeansDenoisingAsync(
  1. InputArray src, {
  2. double h = 3,
  3. int templateWindowSize = 7,
  4. int searchWindowSize = 21,
})

Implementation

Future<Mat> fastNlMeansDenoisingAsync(
  InputArray src, {
  double h = 3,
  int templateWindowSize = 7,
  int searchWindowSize = 21,
}) async {
  final dst = Mat.empty();
  return cvRunAsync0(
    (callback) => cphoto.cv_fastNlMeansDenoising_1(
      src.ref,
      dst.ref,
      h,
      templateWindowSize,
      searchWindowSize,
      callback,
    ),
    (c) {
      return c.complete(dst);
    },
  );
}