fastNlMeansDenoisingColoredMultiAsync function

Future<Mat> fastNlMeansDenoisingColoredMultiAsync(
  1. VecMat srcImgs,
  2. int imgToDenoiseIndex,
  3. int temporalWindowSize, {
  4. double h = 3,
  5. double hColor = 3,
  6. int templateWindowSize = 7,
  7. int searchWindowSize = 21,
})

Implementation

Future<Mat> fastNlMeansDenoisingColoredMultiAsync(
  VecMat srcImgs,
  int imgToDenoiseIndex,
  int temporalWindowSize, {
  double h = 3,
  double hColor = 3,
  int templateWindowSize = 7,
  int searchWindowSize = 21,
}) async {
  final dst = Mat.empty();
  return cvRunAsync0(
    (callback) => cphoto.cv_fastNlMeansDenoisingColoredMulti_1(
      srcImgs.ref,
      dst.ref,
      imgToDenoiseIndex,
      temporalWindowSize,
      h,
      hColor,
      templateWindowSize,
      searchWindowSize,
      callback,
    ),
    (c) {
      return c.complete(dst);
    },
  );
}