Method SeamlessClone
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
SeamlessClone(InputArray, InputArray, InputArray, Point, OutputArray, SeamlessCloneFlags)
Image editing tasks concern either global changes (color/intensity corrections, filters, deformations) or local changes concerned to a selection. Here we are interested in achieving local changes, ones that are restricted to a region manually selected (ROI), in a seamless and effortless manner. The extent of the changes ranges from slight distortions to complete replacement by novel content @cite PM03 .
public static void SeamlessClone(InputArray src, InputArray dst, InputArray mask, Point p, OutputArray blend, SeamlessCloneFlags flags)
Parameters
srcInputArrayInput 8-bit 3-channel image.
dstInputArrayInput 8-bit 3-channel image.
maskInputArrayInput 8-bit 1 or 3-channel image.
pPointPoint in dst image where object is placed.
blendOutputArrayOutput image with the same size and type as dst.
flagsSeamlessCloneFlagsCloning method