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