createAsync static method
Implementation
static Future<MergeMertens> createAsync({
double contrastWeight = 1.0,
double saturationWeight = 1.0,
double exposureWeight = 0.0,
}) async {
return cvRunAsync(
(callback) => cffi.MergeMertens_CreateWithParams_Async(
contrastWeight,
saturationWeight,
exposureWeight,
callback,
),
(c, p) => c.complete(MergeMertens.fromPointer(p.cast<cvg.MergeMertens>())),
);
}