seamlessClone function

Mat seamlessClone(
  1. InputArray src,
  2. InputArray dst,
  3. InputArray mask,
  4. Point p,
  5. int flags,
)

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;
}