textureFlatteningAsync function
Future<Mat>
textureFlatteningAsync(
- InputArray src,
- InputArray mask, {
- double lowThreshold = 30,
- double highThreshold = 45,
- int kernelSize = 3,
Implementation
Future<Mat> textureFlatteningAsync(
InputArray src,
InputArray mask, {
double lowThreshold = 30,
double highThreshold = 45,
int kernelSize = 3,
}) async {
return cvRunAsync(
(callback) => cffi.TextureFlattening_Async(
src.ref,
mask.ref,
lowThreshold,
highThreshold,
kernelSize,
callback,
),
(c, pdst) => c.complete(Mat.fromPointer(pdst.cast<cvg.Mat>())),
);
}