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 {
final dst = Mat.empty();
return cvRunAsync0(
(callback) => cphoto.cv_textureFlattening(
src.ref,
mask.ref,
dst.ref,
lowThreshold,
highThreshold,
kernelSize,
callback,
),
(c) {
return c.complete(dst);
},
);
}