fastNlMeansDenoisingColoredMultiAsync function
Future<Mat>
fastNlMeansDenoisingColoredMultiAsync(
- VecMat srcImgs,
- int imgToDenoiseIndex,
- int temporalWindowSize, {
- double h = 3,
- double hColor = 3,
- int templateWindowSize = 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 {
final dst = Mat.empty();
return cvRunAsync0(
(callback) => cphoto.cv_fastNlMeansDenoisingColoredMulti_1(
srcImgs.ref,
dst.ref,
imgToDenoiseIndex,
temporalWindowSize,
h,
hColor,
templateWindowSize,
searchWindowSize,
callback,
),
(c) {
return c.complete(dst);
},
);
}