Click or drag to resize

Cv2SeamlessClone Method

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 .

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void SeamlessClone(
	InputArray src,
	InputArray dst,
	InputArray mask,
	Point p,
	OutputArray blend,
	SeamlessCloneMethods flags
)

Parameters

src
Type: OpenCvSharpInputArray
Input 8-bit 3-channel image.
dst
Type: OpenCvSharpInputArray
Input 8-bit 3-channel image.
mask
Type: OpenCvSharpInputArray
Input 8-bit 1 or 3-channel image.
p
Type: OpenCvSharpPoint
Point in dst image where object is placed.
blend
Type: OpenCvSharpOutputArray
Output image with the same size and type as dst.
flags
Type: OpenCvSharpSeamlessCloneMethods
Cloning method
See Also