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) => cphoto.TextureFlattening_Async(
src.ref,
mask.ref,
lowThreshold,
highThreshold,
kernelSize,
callback,
),
(c, pdst) => c.complete(Mat.fromPointer(pdst.cast<cphoto.Mat>())),
);
}