fastNlMeansDenoisingColoredMulti function
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(
() => cphoto.FastNlMeansDenoisingColoredMultiWithParams(
srcImgs.ref,
dst.ref,
imgToDenoiseIndex,
temporalWindowSize,
h,
hColor,
templateWindowSize,
searchWindowSize,
),
);
return dst;
}