fastNlMeansDenoisingColored function

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

FastNlMeansDenoisingColored is a modification of fastNlMeansDenoising function for colored images. For further details, please see: https://docs.opencv.org/4.x/d1/d79/group__photo__denoise.html#ga21abc1c8b0e15f78cd3eff672cb6c476

Implementation

//
/// For further details, please see:
/// https://docs.opencv.org/4.x/d1/d79/group__photo__denoise.html#ga21abc1c8b0e15f78cd3eff672cb6c476
Mat fastNlMeansDenoisingColored(
  InputArray src, {
  double h = 3,
  double hColor = 3,
  int templateWindowSize = 7,
  int searchWindowSize = 21,
}) {
  final dst = Mat.empty();
  cvRun(
    () => cphoto.FastNlMeansDenoisingColoredWithParams(
      src.ref,
      dst.ref,
      h,
      hColor,
      templateWindowSize,
      searchWindowSize,
    ),
  );
  return dst;
}