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 {
  return cvRunAsync(
    (callback) => cffi.FastNlMeansDenoisingWithParams_Async(
      src.ref,
      h,
      templateWindowSize,
      searchWindowSize,
      callback,
    ),
    (c, pdst) => c.complete(Mat.fromPointer(pdst.cast<cvg.Mat>())),
  );
}