fastNlMeansDenoisingColoredAsync function

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

Implementation

Future<Mat> fastNlMeansDenoisingColoredAsync(
  InputArray src, {
  double h = 3,
  double hColor = 3,
  int templateWindowSize = 7,
  int searchWindowSize = 21,
}) async {
  return cvRunAsync(
    (callback) => cphoto.FastNlMeansDenoisingColoredWithParams_Async(
      src.ref,
      h,
      hColor,
      templateWindowSize,
      searchWindowSize,
      callback,
    ),
    (c, pdst) => c.complete(Mat.fromPointer(pdst.cast<cphoto.Mat>())),
  );
}