fastNlMeansDenoisingColoredMulti function

Mat fastNlMeansDenoisingColoredMulti(
  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,
})

FastNlMeansDenoisingColoredMulti denoises the selected images. For further details, please see: https://docs.opencv.org/master/d1/d79/group__photo__denoise.html#gaa501e71f52fb2dc17ff8ca5e7d2d3619

Implementation

//
/// For further details, please see:
/// https://docs.opencv.org/master/d1/d79/group__photo__denoise.html#gaa501e71f52fb2dc17ff8ca5e7d2d3619
Mat fastNlMeansDenoisingColoredMulti(
  VecMat srcImgs,
  int imgToDenoiseIndex,
  int temporalWindowSize, {
  double h = 3,
  double hColor = 3,
  int templateWindowSize = 7,
  int searchWindowSize = 21,
}) {
  final dst = Mat.empty();
  cvRun(
    () => cffi.FastNlMeansDenoisingColoredMultiWithParams(
      srcImgs.ref,
      dst.ref,
      imgToDenoiseIndex,
      temporalWindowSize,
      h,
      hColor,
      templateWindowSize,
      searchWindowSize,
    ),
  );
  return dst;
}