MergeMertens.create constructor
MergeMertens.create({})
Implementation
factory MergeMertens.create({
double contrastWeight = 1.0,
double saturationWeight = 1.0,
double exposureWeight = 0.0,
}) {
final p = calloc<cvg.MergeMertens>();
cvRun(
() => cffi.MergeMertens_CreateWithParams(
contrastWeight,
saturationWeight,
exposureWeight,
p,
),
);
return MergeMertens._(p);
}