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(
() => cphoto.cv_createMergeMertens_1(
contrastWeight,
saturationWeight,
exposureWeight,
p,
),
);
return MergeMertens._(p);
}