createAsync static method

Future<CLAHE> createAsync([
  1. double clipLimit = 40,
  2. (int, int) tileGridSize = (8, 8)
])

Implementation

static Future<CLAHE> createAsync([
  double clipLimit = 40,
  (int width, int height) tileGridSize = (8, 8),
]) async =>
    cvRunAsync(
      (callback) => cffi.CLAHE_CreateWithParams_Async(clipLimit, tileGridSize.cvd.ref, callback),
      (c, p) => c.complete(CLAHE.fromPointer(p.cast<cvg.CLAHE>())),
    );