detailEnhanceAsync function

Future<Mat> detailEnhanceAsync(
  1. InputArray src, {
  2. double sigmaS = 10,
  3. double sigmaR = 0.15,
})

Implementation

Future<Mat> detailEnhanceAsync(
  InputArray src, {
  double sigmaS = 10,
  double sigmaR = 0.15,
}) async {
  return cvRunAsync(
    (callback) => cphoto.DetailEnhance_Async(
      src.ref,
      sigmaS,
      sigmaR,
      callback,
    ),
    (c, pdst) => c.complete(Mat.fromPointer(pdst.cast<cphoto.Mat>())),
  );
}