edgePreservingFilterAsync function
Future<Mat>
edgePreservingFilterAsync(
- InputArray src, {
- int flags = 1,
- double sigmaS = 60,
- double sigmaR = 0.4,
Implementation
Future<Mat> edgePreservingFilterAsync(
InputArray src, {
int flags = 1,
double sigmaS = 60,
double sigmaR = 0.4,
}) async {
return cvRunAsync(
(callback) => cphoto.EdgePreservingFilter_Async(
src.ref,
flags,
sigmaS,
sigmaR,
callback,
),
(c, pdst) => c.complete(Mat.fromPointer(pdst.cast<cphoto.Mat>())),
);
}