sepFilter2DAsync function
Future<Mat>
sepFilter2DAsync(
- InputArray src,
- int ddepth,
- InputArray kernelX,
- InputArray kernelY, {
- OutputArray? dst,
- Point? anchor,
- double delta = 0,
- int borderType = BORDER_DEFAULT,
SepFilter2D applies a separable linear filter to the image.
For further details, please see: https:///docs.opencv.org/master/d4/d86/group__imgproc__filter.html#ga910e29ff7d7b105057d1625a4bf6318d
Implementation
Future<Mat> sepFilter2DAsync(
InputArray src,
int ddepth,
InputArray kernelX,
InputArray kernelY, {
OutputArray? dst,
Point? anchor,
double delta = 0,
int borderType = BORDER_DEFAULT,
}) {
anchor ??= Point(-1, -1);
dst ??= Mat.empty();
return cvRunAsync0(
(callback) => cimgproc.cv_sepFilter2D(
src.ref,
dst!.ref,
ddepth,
kernelX.ref,
kernelY.ref,
anchor!.ref,
delta,
borderType,
callback,
),
(c) {
return c.complete(dst);
},
);
}