fastNlMeansDenoisingColored function
Mat
fastNlMeansDenoisingColored(
- InputArray src, {
- double h = 3,
- double hColor = 3,
- int templateWindowSize = 7,
- 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.cv_fastNlMeansDenoisingColored_1(
src.ref,
dst.ref,
h,
hColor,
templateWindowSize,
searchWindowSize,
ffi.nullptr,
),
);
return dst;
}