seamlessClone function
SeamlessClone blend two image by Poisson Blending. For further details, please see: https://docs.opencv.org/master/df/da0/group__photo__clone.html#ga2bf426e4c93a6b1f21705513dfeca49d
Implementation
//
/// For further details, please see:
/// https://docs.opencv.org/master/df/da0/group__photo__clone.html#ga2bf426e4c93a6b1f21705513dfeca49d
Mat seamlessClone(
InputArray src,
InputArray dst,
InputArray mask,
Point p,
int flags,
) {
final blend = Mat.empty();
cvRun(
() => cphoto.SeamlessClone(src.ref, dst.ref, mask.ref, p.ref, blend.ref, flags),
);
return blend;
}