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 {
return cvRunAsync(
(callback) => cffi.FastNlMeansDenoisingColoredMultiWithParams_Async(
srcImgs.ref,
imgToDenoiseIndex,
temporalWindowSize,
h,
hColor,
templateWindowSize,
searchWindowSize,
callback,
),
(c, pdst) => c.complete(Mat.fromPointer(pdst.cast<cvg.Mat>())),
);
}