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 {
  return cvRunAsync(
    (callback) => cphoto.FastNlMeansDenoisingColoredMultiWithParams_Async(
      srcImgs.ref,
      imgToDenoiseIndex,
      temporalWindowSize,
      h,
      hColor,
      templateWindowSize,
      searchWindowSize,
      callback,
    ),
    (c, pdst) => c.complete(Mat.fromPointer(pdst.cast<cphoto.Mat>())),
  );
}